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.
This commit is contained in:
elonnzhang authored and GitHub committed 2026-09-28 17:49:50 +08:00
1 parent b552027932
commit a2cd79da96
1 file changed
+1 -1
+1 -1
View File
@@ -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); }