From 568300cf6bdf8c0c33337b5707fbb800106641f6 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 (cherry picked from commit 298d05df3b79634a0364926f34fb02b73d442c31) --- 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 00ec82192e..43a9e032b8 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -66,7 +66,7 @@
{{range .Columns}} -
+
diff --git a/web_src/css/features/projects.css b/web_src/css/features/projects.css index 38b5258d7d..5e2ec885a0 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;