diff --git a/web_src/css/base.css b/web_src/css/base.css index caa6cf5e19059..016c263e4301e 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -898,6 +898,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 {