[v14.0/forgejo] fix: proper styling for global time tracker popup (#10831)

**Backport:** https://codeberg.org/forgejo/forgejo/pulls/10827

- Resolves forgejo/forgejo#10819
- CSS from tippy is overriding the style we are providing, so override
it via `!important` (tippy also uses that hence we lose the priority
race).

## Test
1. Start timer on any issue.
2. See that the styling is okay in the global time tracker popup in the navbar.

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10831
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
This commit is contained in:
forgejo-backport-action 2026-01-14 12:27:11 +01:00 committed by 0ko
parent 04132b338d
commit 745134a89f

View file

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