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);
|
border: 1px solid var(--border);
|
||||||
background: var(--surface-2);
|
background: var(--surface-2);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
padding: 8px 14px;
|
padding: 6px 12px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
|
font-size: 12px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
transition: background 0.15s, border-color 0.15s, opacity 0.15s;
|
transition: background 0.15s, border-color 0.15s, opacity 0.15s;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import { VersionInfo, IMPOSSIBLE } from '@start9labs/start-sdk'
|
import { VersionInfo, IMPOSSIBLE } from '@start9labs/start-sdk'
|
||||||
|
|
||||||
export const v0_1_0 = VersionInfo.of({
|
export const v0_1_0 = VersionInfo.of({
|
||||||
version: '0.11.0:2',
|
version: '0.11.0:3',
|
||||||
releaseNotes: {
|
releaseNotes: {
|
||||||
en_US:
|
en_US:
|
||||||
'v0.11.0:2 — pill sizing fix. The 0.11.0:1 .tag refactor added line-height: 1.5 + display: inline-block, which made every pill on the LLM cards and speech-models panel visually taller than the "Healthy" status pill on the Always-On Services cards. Dropped both additions and bumped .tag font-size from 11px → 12px so every pill on the dashboard now matches the .status pill exactly (12px, default inline, no explicit line-height). Cards, status, on-disk, mode, custom, and speech-model pills all render at the same footprint.',
|
'v0.11.0:3 — button sizing fix. The "Reapply patches", "Restart container", "Switch to this", and "Download" buttons inherited 15px from the body font. Only the service-card action buttons (Start/Restart/Stop on parakeet/magpie) had an explicit 12px override — exactly the size you liked. Changed the base .btn to 12px font + 6px 12px padding so every action button across the dashboard matches the service-card button footprint. Per-context overrides (.service-actions .btn, .nim-card .btn, etc.) are now redundant but kept in place; they no longer make a visible difference.',
|
||||||
},
|
},
|
||||||
migrations: {
|
migrations: {
|
||||||
up: async ({ effects }) => {},
|
up: async ({ effects }) => {},
|
||||||
|
|||||||
Reference in New Issue
Block a user