commit c509c90: [Minor] Fix status tables borders

moisseev moiseev at mezonplus.ru
Mon Jul 29 17:53:26 UTC 2024


Author: moisseev
Date: 2024-03-04 19:30:57 +0300
URL: https://github.com/rspamd/rspamd/commit/c509c904a3fbf2ae099f33bd020abb9ae790d998 (refs/pull/4856/head)

[Minor] Fix status tables borders

---
 interface/css/rspamd.css | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css
index 767c11175..92adf52fa 100644
--- a/interface/css/rspamd.css
+++ b/interface/css/rspamd.css
@@ -291,24 +291,33 @@ table#symbolsTable input[type="number"] {
     margin-right: 9px;
 }
 
+.status-table thead th:first-child,
+.status-table td:first-child {
+    border-left: none;
+}
+.status-table thead th:last-child,
 .status-table td:last-child {
     border-right: none;
 }
+.status-table thead tr {
+    border-top: none;
+}
+.status-table tr:last-child,
 .status-table tr:last-child td {
     border-bottom: none;
 }
-.status-table thead th:last-child {
-    border-right: none;
-}
+
 .footable-header,
 .footable tr:not(.footable-detail-row) > td {
     font-size: 11px;
 }
-.status-table tr:last-child td:first-child {
-    border-radius: 0 0 0 calc(.25rem - 1px);
-}
+
 .status-table tr:last-child td:last-child {
-    border-radius: 0 0 calc(.25rem - 1px) 0;
+    border-radius: 0 0 calc(var(--bs-border-radius) + 1px) 0;
+}
+.status-table :not(:has([rowspan])) tr:last-child td:first-child,
+.status-table :nth-last-child(1 of tr:has([rowspan])) td:first-child  {
+    border-radius: 0 0 0 calc(var(--bs-border-radius) + 1px);
 }
 
 /* RRD summary */


More information about the Commits mailing list