v0.11.0:3 - button sizing fix: unify base .btn to 12px / 6px 12px
User feedback: every action button OUTSIDE the parakeet/magpie service cards looked too big. Specifically called out: "Reapply patches", "Restart container", "Switch to this", "Download". The ones on the service cards (Start/Restart/Stop) were the size he liked. Root cause: the base .btn used font: inherit, so it picked up 15px from body. .service-actions .btn was the only place with an explicit font-size: 12px + padding: 6px 12px override. Fix: change .btn base directly to font-size: 12px + padding: 6px 12px. Every button across the dashboard now matches the service-card button footprint. The existing per-context overrides become redundant but remain in place; they no longer create visible differences. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -703,10 +703,11 @@ main {
|
||||
border: 1px solid var(--border);
|
||||
background: var(--surface-2);
|
||||
color: var(--text);
|
||||
padding: 8px 14px;
|
||||
padding: 6px 12px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
transition: background 0.15s, border-color 0.15s, opacity 0.15s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user