From ca0c354159d0f0fbf2f61271f7c911683a92cf5a Mon Sep 17 00:00:00 2001 From: Gusted Date: Wed, 14 Jan 2026 11:14:32 +0100 Subject: [PATCH] fix: proper styling for global time tracker popup (#10827) - Resolves forgejo/forgejo#10819 - CSS from tippy is overriding the style specifically for active-stopwatch-popup because of strange/incorrect HTML structure, so override it via `!important`. ## Test 1. Start timer on any issue. 2. See that the styling is okay in the global time tracker popup in the navbar. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10827 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Reviewed-by: Beowulf Co-authored-by: Gusted Co-committed-by: Gusted --- web_src/css/modules/tippy.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web_src/css/modules/tippy.css b/web_src/css/modules/tippy.css index 6ac7c37d93..ebc49b6d22 100644 --- a/web_src/css/modules/tippy.css +++ b/web_src/css/modules/tippy.css @@ -168,3 +168,8 @@ .tippy-svg-arrow-inner { fill: var(--color-body); } + +/* Stopwatch popup needs extra help with overriding tippy's styling. */ +.tippy-box .active-stopwatch-popup { + display: flex !important; +}