From cfc1c408d4fadf5a3e8fc3526d7aaccc64fa2bd7 Mon Sep 17 00:00:00 2001 From: Keysat Date: Mon, 18 May 2026 17:54:46 -0500 Subject: [PATCH] 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) --- image/app/static/style.css | 3 ++- package/startos/versions/v0_1_0.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/image/app/static/style.css b/image/app/static/style.css index eea3e8b..e5624e4 100644 --- a/image/app/static/style.css +++ b/image/app/static/style.css @@ -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; } diff --git a/package/startos/versions/v0_1_0.ts b/package/startos/versions/v0_1_0.ts index fe482ae..0249626 100644 --- a/package/startos/versions/v0_1_0.ts +++ b/package/startos/versions/v0_1_0.ts @@ -1,10 +1,10 @@ import { VersionInfo, IMPOSSIBLE } from '@start9labs/start-sdk' export const v0_1_0 = VersionInfo.of({ - version: '0.11.0:2', + version: '0.11.0:3', releaseNotes: { 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: { up: async ({ effects }) => {},