From 23a82bcd7a9d2665c53d2c7f38ad7e32721be21b Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 4 Jun 2024 09:46:05 +0200 Subject: [PATCH] Remove .segment from .project-column (#31204) 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 (cherry picked from commit 4ca65fabdad75e39f9948b9a2a18e32edc98ec02) --- 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 47f214a44..df52dbbf9 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 d363b97e2..9d39306c8 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-column-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;