From 4b6eb46e69e460ad81e61f67e468a0f365cbd6a6 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 17 Jun 2024 15:21:59 +0200 Subject: [PATCH] Fix double border in system status table (#31363) Fix regression from https://github.com/go-gitea/gitea/pull/30712 where the introduction of this `
` caused the `.ui.attached:not(.message) + .ui.attached.segment:not(.top)` CSS selector to no longer work and cause a double border. Before: Screenshot 2024-06-13 at 19 06 12 After: Screenshot 2024-06-13 at 19 05 57 --------- Co-authored-by: wxiaoguang --- templates/admin/dashboard.tmpl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index 3445433d53..2f9875f0d9 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -76,9 +76,11 @@ {{ctx.Locale.Tr "admin.dashboard.system_status"}} {{/* TODO: make these stats work in multi-server deployments, likely needs per-server stats in DB */}} -
-
- {{template "admin/system_status" .}} +
+
+
+ {{template "admin/system_status" .}} +
{{template "admin/layout_footer" .}}