Skip to content

Commit

Permalink
Fix active item in tab menu (go-gitea#30690)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
silverwind and GiteaBot authored Apr 25, 2024
1 parent c685eef commit d0bfc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/css/modules/menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d0bfc97

Please sign in to comment.