fix: make skill editor responsive

This commit is contained in:
wuyang6
2026-07-24 10:17:05 +08:00
parent 6630e82069
commit a505261bde
+2 -2
View File
@@ -1217,8 +1217,8 @@ function SkillEditorSheet(props: {
</div> </div>
) : null} ) : null}
<div className="grid min-h-0 flex-1 grid-cols-[230px_minmax(0,1fr)]"> <div className="grid min-h-0 flex-1 grid-cols-1 md:grid-cols-[230px_minmax(0,1fr)]">
<aside className="min-h-0 overflow-y-auto border-r bg-muted/15 p-3"> <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"> <div className="mb-2 flex items-center justify-between px-2 text-xs">
<span className="font-medium">Skill </span> <span className="font-medium">Skill </span>
<span className="text-muted-foreground"> <span className="text-muted-foreground">