From 498434ee3dd3f9581da8b712e1f9539b6c1953b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20St=C3=BCckler?= Date: Thu, 22 Oct 2026 13:10:49 +0200 Subject: [PATCH] [Web] Even out spacing of the expanded table row MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DataTables removes the top padding of the first entry in the expanded row, but mailcow's 0.5em padding left 7px under the last entry, so the list had 7px of space above and 15px below and the last entry (often Tags) looked taller than the others. Drop the last entry's bottom padding as well. Signed-off-by: Moritz Stückler --- data/web/css/build/013-datatables.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/web/css/build/013-datatables.css b/data/web/css/build/013-datatables.css index ded00bc7b..21d5c9a54 100644 --- a/data/web/css/build/013-datatables.css +++ b/data/web/css/build/013-datatables.css @@ -15,6 +15,10 @@ table.dataTable>tbody>tr.child ul.dtr-details>li { border-bottom: 1px solid rgba(0, 0, 0, 0.129); padding: 0.5em 0; } +/* like the first entry has no top padding, the last one needs no bottom padding */ +table.dataTable>tbody>tr.child ul.dtr-details>li:last-child { + padding-bottom: 0; +} table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before:hover, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before:hover { background-color: var(--mc-dtr-hover-bg);