From 67659c5d46793ea6d40ed421e2a2f266ff6015b8 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 25 Mar 2024 14:52:54 +0100 Subject: [PATCH] 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: Screenshot 2024-03-25 at 00 39 27 After: Screenshot 2024-03-25 at 00 39 14 (cherry picked from commit 8717c1c2bef1afcc6b0bb2d84627b158b95836b0) --- templates/repo/issue/navbar.tmpl | 2 +- templates/repo/release_tag_header.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/navbar.tmpl b/templates/repo/issue/navbar.tmpl index 16110597e..30e42c77c 100644 --- a/templates/repo/issue/navbar.tmpl +++ b/templates/repo/issue/navbar.tmpl @@ -1,4 +1,4 @@ - diff --git a/templates/repo/release_tag_header.tmpl b/templates/repo/release_tag_header.tmpl index 7a00cbe49..5896fdd19 100644 --- a/templates/repo/release_tag_header.tmpl +++ b/templates/repo/release_tag_header.tmpl @@ -4,7 +4,7 @@ {{if $canReadReleases}}