Compare commits

..

2 Commits

Author SHA1 Message Date
librelad
ff711d3c2b Merge claude/1 2026-07-06 23:25:46 +01:00
librelad
8aae1bde4f 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>
2026-07-06 23:25:46 +01:00

View File

@ -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;