fix: adjust comment style pill padding and AnimationEditor layout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 14:08:22 +01:00
parent 6d6505e5dc
commit 11d4207f72
2 changed files with 3 additions and 5 deletions

View File

@@ -141,13 +141,11 @@ export function AnimationEditor() {
))}
</div>
{/* Content */}
<div className="flex-1 min-h-0 overflow-y-auto scrollbar-thin scrollbar-thumb-primary/20 scrollbar-track-transparent pr-0.5">
{rightTab === 'export' && <ExportPanel config={config} />}
{rightTab === 'presets' && <PresetLibrary onSelect={loadPreset} />}
</div>
</div>
</div>
</div>
</div>
);
}

View File

@@ -198,7 +198,7 @@ export function FontPreview({
</div>
{/* Comment style */}
<div className="flex items-center gap-1 px-2 py-1 glass rounded-md border border-border/30 text-muted-foreground hover:border-primary/30 hover:text-primary transition-colors">
<div className="flex items-center gap-1 px-2 py-1.25 glass rounded-md border border-border/30 text-muted-foreground hover:border-primary/30 hover:text-primary transition-colors">
<MessageSquareCode className="w-3 h-3 shrink-0" />
<select
value={commentStyle}