diff --git a/web_src/css/base.css b/web_src/css/base.css index c68707d03..3f1e89162 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -881,6 +881,24 @@ a.label, color: var(--color-text); } +/* reduce table padding, needed especially for dense admin tables */ +.ui.table > thead > tr > th, +.ui.table > tbody > tr > td, +.ui.table > tr > td { + padding: 6px 3px; +} +/* use more horizontal padding on first and last items for visuals */ +.ui.table > thead > tr > th:first-of-type, +.ui.table > tbody > tr > td:first-of-type, +.ui.table > tr > td:first-of-type { + padding-left: 10px; +} +.ui.table > thead > tr > th:last-of-type, +.ui.table > tbody > tr > td:last-of-type, +.ui.table > tr > td:last-of-type { + padding-right: 10px; +} + img.ui.avatar, .ui.avatar img, .ui.avatar svg {