From 06bc51b2b4e0539fe05047a1eabaeed926afa68b Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Wed, 28 Oct 2026 01:49:27 +0100 Subject: [PATCH] Fix badge height in multi-select rows --- unauthenticated/css/ui-lib.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/unauthenticated/css/ui-lib.css b/unauthenticated/css/ui-lib.css index c568397ee..f4e2401c5 100644 --- a/unauthenticated/css/ui-lib.css +++ b/unauthenticated/css/ui-lib.css @@ -1736,8 +1736,7 @@ a.ui_list_link:hover { color: var(--ui-accent) !important; } white-space: nowrap; } .ui_multi_side { margin-left: auto; padding-left: 8px; flex-shrink: 0; } -/* Badges share the chip's size and the row's normal padding, so rows with - * badges line up with rows without them. */ +/* Keep badges small enough to fit the row's normal padding and height. */ .ui_multi_badges { display: flex; flex-wrap: wrap; @@ -1747,10 +1746,10 @@ a.ui_list_link:hover { color: var(--ui-accent) !important; } flex-shrink: 1; } .ui_multi_badges .ui_badge { - padding: 1px 8px; - font-size: 0.86em; + padding: 0 8px; + font-size: 0.8em; font-weight: 400; - line-height: 1.5; + line-height: 1.25; border-color: color-mix(in srgb, currentColor 16%, transparent); } .ui_multi_badges .ui_badge .ui_svg_icon { width: 1em; height: 1em; }