fix: make skill editor responsive
This commit is contained in:
@@ -1217,8 +1217,8 @@ function SkillEditorSheet(props: {
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
<div className="grid min-h-0 flex-1 grid-cols-[230px_minmax(0,1fr)]">
|
||||
<aside className="min-h-0 overflow-y-auto border-r bg-muted/15 p-3">
|
||||
<div className="grid min-h-0 flex-1 grid-cols-1 md:grid-cols-[230px_minmax(0,1fr)]">
|
||||
<aside className="max-h-48 min-h-0 overflow-y-auto border-b bg-muted/15 p-3 md:max-h-none md:border-r md:border-b-0">
|
||||
<div className="mb-2 flex items-center justify-between px-2 text-xs">
|
||||
<span className="font-medium">Skill 文件</span>
|
||||
<span className="text-muted-foreground">
|
||||
|
||||
Reference in New Issue
Block a user