diff options
author | 6543 <6543@obermui.de> | 2025-06-05 21:02:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-05 19:02:07 +0000 |
commit | 9e0e107d236022d550d077da7aa9af415ac02f8a (patch) | |
tree | fc8ceb952299be33287c26f7d05cc02708b03961 /modules/git/commit_test.go | |
parent | e5781cec75d7ba350fb9162b3882192574c80429 (diff) | |
download | gitea-9e0e107d236022d550d077da7aa9af415ac02f8a.tar.gz gitea-9e0e107d236022d550d077da7aa9af415ac02f8a.zip |
Fix notification count positioning for variable-width elements (#34597)
The notification count is currently positioned using top/left
coordinates from its container's top/left corner. This works fine for
fixed-size containers like the bell icon.
This PR changes the positioning to use bottom/left coordinates from the
container's top/right corner instead. This improvement is needed when
placing notification counts on text that can vary in size due to
different languages or fonts.
The bell and stopwatch should look the same after this change.
---
*Sponsored by Kithara Software GmbH*
Co-authored-by: Marcel Haß <m.hass@kithara.com>
Diffstat (limited to 'modules/git/commit_test.go')
0 files changed, 0 insertions, 0 deletions