From 298d05df3b79634a0364926f34fb02b73d442c31 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 4 Jun 2024 17:45:50 +0800 Subject: [PATCH] Remove .segment from .project-column (#31204) (#31239) Backport #31204 by @silverwind Using `.segment` on the project columns is a major abuse of that class, so remove it and instead set the border-radius directly on it. Fixes: https://github.com/go-gitea/gitea/issues/31129 Co-authored-by: silverwind --- templates/projects/view.tmpl | 2 +- web_src/css/features/projects.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl index 45c8461218..6d331caba7 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -66,7 +66,7 @@
{{range .Columns}} -
+
{{.NumIssues ctx}} diff --git a/web_src/css/features/projects.css b/web_src/css/features/projects.css index 21e2aee0a2..74e8222a34 100644 --- a/web_src/css/features/projects.css +++ b/web_src/css/features/projects.css @@ -9,6 +9,7 @@ .project-column { background-color: var(--color-project-board-bg) !important; border: 1px solid var(--color-secondary) !important; + border-radius: var(--border-radius); margin: 0 0.5rem !important; padding: 0.5rem !important; width: 320px;