From 2cabb052a17be14ff6600e8fa56d1d0a251675d3 Mon Sep 17 00:00:00 2001 From: Rafal Leszczynski Date: Wed, 9 Mar 2016 15:12:21 +0100 Subject: [PATCH] DAT-3855, fix spacing for leballess stacked data and labelless horizontal group --- styles/PortableInfoboxEuropaTheme.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/styles/PortableInfoboxEuropaTheme.scss b/styles/PortableInfoboxEuropaTheme.scss index 1b52638..f94264e 100644 --- a/styles/PortableInfoboxEuropaTheme.scss +++ b/styles/PortableInfoboxEuropaTheme.scss @@ -43,8 +43,9 @@ $tabber-background-color: mix($black, $color-buttons, $background-color-mix * 4) } &.pi-layout-stacked { - .pi-data-value { - padding-top: $horizontal-group-label-spacing; + .pi-data-label { + padding-bottom: $horizontal-group-label-spacing; + padding-right: 0; } } @@ -141,12 +142,14 @@ $tabber-background-color: mix($black, $color-buttons, $background-color-mix * 4) } .pi-data-label { - padding-bottom: $horizontal-group-label-spacing; - padding-left: $infobox-side-spacing; + padding: $infobox-side-spacing $infobox-side-spacing $horizontal-group-label-spacing; } .pi-data-value { padding-left: $infobox-side-spacing; + } + + thead + tbody .pi-data-value { padding-top: 0; } }