From 394735da53caf50cc55f1311c50cd392eeab922f Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 15 Jan 2026 08:29:22 +0100 Subject: Reorganize table sass --- resources/sass/style.scss | 70 +++++++++++++++++++++++------------------------ 1 file changed, 34 insertions(+), 36 deletions(-) (limited to 'resources') diff --git a/resources/sass/style.scss b/resources/sass/style.scss index 00447e6..3cb4a93 100644 --- a/resources/sass/style.scss +++ b/resources/sass/style.scss @@ -166,6 +166,8 @@ a { } table { + margin-bottom: 6px; + &.main_table { > tbody > tr > td:first-child { min-width: 120px; @@ -196,53 +198,49 @@ table { white-space: nowrap; } } - } - tr { - td, th { - padding-right: 1em; - vertical-align: top; - - &:last-child { - padding-right: 0; + @media (max-width: 1269px) { + tr { + display: block; } - } - } - - margin-bottom: 6px; -} -@media (max-width: 1269px) { - table.main_table { - tr { - display: block; - } + td:first-child { + display: block; + font-weight: bold; + min-width: unset !important; + text-align: initial !important; + } - td:first-child { - display: block; - font-weight: bold; - min-width: unset !important; - text-align: initial !important; - } + td.icon { + min-width: 1.5em; + } - td.icon { - min-width: 1.5em; - } + &.presentations > tbody > tr { + padding-bottom: 1ex; - &.presentations > tbody > tr { - padding-bottom: 1ex; + td:nth-child(2) { + display: inline; + padding-right: 0; - td:nth-child(2) { - display: inline; - padding-right: 0; + &:after { + content: ': '; + } + } - &:after { - content: ': '; + td:last-child { + display: inline; } } + } + } + + tr { + td, th { + padding-right: 1em; + vertical-align: top; - td:last-child { - display: inline; + &:last-child { + padding-right: 0; } } } -- cgit v1.2.3