mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-11-10 18:41:01 +00:00
[Web] Even out spacing of the expanded table row
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 <moritz@bitbetter.de>
This commit is contained in:
1 file changed
+4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user