diff options
author | silverwind <me@silverwind.io> | 2024-04-25 12:53:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 12:53:39 +0200 |
commit | d0bfc978de802683b9a44720b7f5a8a8394d38be (patch) | |
tree | 0ffc5b4b534065778e5309d20b3d203a806e3967 /web_src/css | |
parent | c685eefe4a8ff6e32bc859a3457a5090f58ea8c5 (diff) | |
download | gitea-d0bfc978de802683b9a44720b7f5a8a8394d38be.tar.gz gitea-d0bfc978de802683b9a44720b7f5a8a8394d38be.zip |
Fix active item in tab menu (#30690)
Before, item would also resize on hover because of font weight:
<img width="381" alt="Screenshot 2024-04-25 at 01 28 53"
src="https://github.com/go-gitea/gitea/assets/115237/4f3291fc-90be-4d66-ae8b-3c2f763cb956">
After:
<img width="381" alt="Screenshot 2024-04-25 at 01 28 40"
src="https://github.com/go-gitea/gitea/assets/115237/06145bf2-1ddd-4171-9217-d92c100ea405">
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/css')
-rw-r--r-- | web_src/css/modules/menu.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/modules/menu.css b/web_src/css/modules/menu.css index a392ffb5e9..e393ec5186 100644 --- a/web_src/css/modules/menu.css +++ b/web_src/css/modules/menu.css @@ -403,7 +403,7 @@ background: var(--color-body); border-top-width: 1px; border-color: var(--color-secondary); - font-weight: var(--font-weight-medium); + color: var(--color-text-dark); margin-bottom: -1px; border-radius: 0.28571429rem 0.28571429rem 0 0 !important; } |