From ec65511eb0e020f07f9aaadf27b2859b33228b6f Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Mon, 22 Jan 2024 08:15:20 +0000 Subject: [PATCH] Use tighter horizontal spacing for listing columns --- client/scss/components/_listing.scss | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/client/scss/components/_listing.scss b/client/scss/components/_listing.scss index d4394a15e8..fd5bec51e1 100644 --- a/client/scss/components/_listing.scss +++ b/client/scss/components/_listing.scss @@ -27,7 +27,11 @@ ul.listing { td, th { - padding: 1.2em 1em; + padding: 1.2em 0.3em; + + @include media-breakpoint-up(sm) { + padding: 1.2em 1em; + } &.no-padding { padding: 0; @@ -36,7 +40,11 @@ ul.listing { &.small td, th { - padding: 0.6em 1em; + padding: 0.6em 0.3em; + + @include media-breakpoint-up(sm) { + padding: 0.6em 1em; + } } td { @@ -44,8 +52,12 @@ ul.listing { } td.title { - padding: 1em; line-height: 2em; + padding: 1em 0.3em; + + @include media-breakpoint-up(sm) { + padding: 1em; + } } thead {