From 85dcc7dbf189f9a28f203ee99ecb35921f41d6db Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Mon, 26 Oct 2026 15:35:02 +0100 Subject: [PATCH] Add padding for small badges with SVG icons --- unauthenticated/css/ui-lib.css | 1 + 1 file changed, 1 insertion(+) diff --git a/unauthenticated/css/ui-lib.css b/unauthenticated/css/ui-lib.css index 32723d60c..c568397ee 100644 --- a/unauthenticated/css/ui-lib.css +++ b/unauthenticated/css/ui-lib.css @@ -792,6 +792,7 @@ a.ui_stat:hover .ui_stat_value { color: var(--ui-accent); } font-size: 0.8em; line-height: 1.25; } +.ui_badge_small:has(> .ui_svg_icon) { padding-left: 4px; } .ui_badge_small .ui_svg_icon { width: 1em; height: 1em; } /* Rounded ends, only when a caller asks for them. Widgets are drawn * square, apart from the toggle and the badge dot, which are round */