From a2cd79da96d4a0700a7468fdb644f010d4f5f149 Mon Sep 17 00:00:00 2001 From: elonnzhang <49381087+elonnzhang@users.noreply.github.com> Date: Mon, 28 Sep 2026 17:49:50 +0800 Subject: [PATCH] fix(gui): align provider status dots on providers page (#146) Give the .key status pill a fixed min-width and hidden overflow so its left edge (and the green ::before dot) lands at the same x on every provider row, instead of shifting with label length. --- internal/gui/assets/app.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gui/assets/app.css b/internal/gui/assets/app.css index c227c135..650db81a 100644 --- a/internal/gui/assets/app.css +++ b/internal/gui/assets/app.css @@ -947,7 +947,7 @@ body.window .ag-sk-icon { width: 22px; height: 22px; border-radius: 6px; } .use.open { box-shadow: inset 0 0 0 1px var(--accent); } .use.add { background: none; box-shadow: none; border: 1px dashed var(--line); color: var(--faint); } .use.add:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); } -.key { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font: 11px var(--code); color: var(--muted); white-space: nowrap; flex: none; margin-left: 4px; min-width: 108px; font-variant-numeric: tabular-nums; } +.key { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font: 11px var(--code); color: var(--muted); white-space: nowrap; flex: none; margin-left: 4px; min-width: 120px; overflow: hidden; font-variant-numeric: tabular-nums; } .key::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); } .key.free { font-family: var(--font); color: var(--faint); } .key.free::before { background: var(--faint); }