Skip to content

Commit d0bfc97

Browse files
silverwindGiteaBot
andauthored
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 <[email protected]>
1 parent c685eef commit d0bfc97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/css/modules/menu.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@
403403
background: var(--color-body);
404404
border-top-width: 1px;
405405
border-color: var(--color-secondary);
406-
font-weight: var(--font-weight-medium);
406+
color: var(--color-text-dark);
407407
margin-bottom: -1px;
408408
border-radius: 0.28571429rem 0.28571429rem 0 0 !important;
409409
}

0 commit comments

Comments
 (0)