fix(webui/config): nudge the "Official" catalog badge inline with the URL text
The badge centres on the input box (top:50%), but the single-line input renders its text a hair low, so the pill read as slightly above the URL. +2px lands it optically inline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
This commit is contained in:
parent
6b83fa34ad
commit
8aae1bde4f
@ -306,7 +306,10 @@
|
||||
.catalog-official-badge {
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
top: 50%;
|
||||
/* +2px nudge: the input centres the badge on its box, but the single-line
|
||||
text renders a hair low, so a pure 50% left the pill reading slightly high.
|
||||
This lands it optically inline with the URL text. */
|
||||
top: calc(50% + 2px);
|
||||
transform: translateY(-50%);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user