DAT-3855, fix spacing for leballess stacked data and labelless horizontal group

This commit is contained in:
Rafal Leszczynski 2016-03-09 15:12:21 +01:00
parent 3aa93cfc19
commit 2cabb052a1

View file

@ -43,8 +43,9 @@ $tabber-background-color: mix($black, $color-buttons, $background-color-mix * 4)
} }
&.pi-layout-stacked { &.pi-layout-stacked {
.pi-data-value { .pi-data-label {
padding-top: $horizontal-group-label-spacing; 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 { .pi-data-label {
padding-bottom: $horizontal-group-label-spacing; padding: $infobox-side-spacing $infobox-side-spacing $horizontal-group-label-spacing;
padding-left: $infobox-side-spacing;
} }
.pi-data-value { .pi-data-value {
padding-left: $infobox-side-spacing; padding-left: $infobox-side-spacing;
}
thead + tbody .pi-data-value {
padding-top: 0; padding-top: 0;
} }
} }