]> source.dussan.org Git - gitea.git/commit
Fix menu buttons in issues and release (#30056)
authorsilverwind <me@silverwind.io>
Mon, 25 Mar 2024 13:52:54 +0000 (14:52 +0100)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2024 13:52:54 +0000 (13:52 +0000)
commit8717c1c2bef1afcc6b0bb2d84627b158b95836b0
tree67d6126d7f68ca86a3a7477e81db8ba39f8ba975
parent8e79aed573a3597c028bfc3598bd78f12e8a3ac3
Fix menu buttons in issues and release (#30056)

Fix regression from https://github.com/go-gitea/gitea/pull/30033

These buttons had lost their border because `.ui.header` sets `none` but
`.ui.menu` has it, after the migration, the order of styles changed and
header won. I see no reason why those have the `header` class in first
place, besides for semantic meaning.

Before:
<img width="491" alt="Screenshot 2024-03-25 at 00 39 27"
src="https://github.com/go-gitea/gitea/assets/115237/fa1b7505-75cf-4854-a97f-db3c46f31e93">

After:
<img width="496" alt="Screenshot 2024-03-25 at 00 39 14"
src="https://github.com/go-gitea/gitea/assets/115237/8f6bdc07-9596-436b-8c82-9af283300004">
templates/repo/issue/navbar.tmpl
templates/repo/release_tag_header.tmpl