From 569b0f1c68ade8ea8761690ae792484da250b30c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 29 Oct 2023 16:40:23 +0100 Subject: Update --- src/objects/_dialog.scss | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_dialog.scss b/src/objects/_dialog.scss index c923901..9333ce6 100644 --- a/src/objects/_dialog.scss +++ b/src/objects/_dialog.scss @@ -105,19 +105,27 @@ grid-area: top; min-width: 0; padding: fn.dim(--body --pad-y) fn.dim(--body --pad-x); - } - @include iro.bem-elem('body') { - grid-area: body; - min-width: 0; - min-height: 0; - padding: fn.dim(--body --pad-y) fn.dim(--body --pad-x); + @include iro.bem-sibling-elem('body') { + padding-top: 0; + } } @include iro.bem-elem('bottom') { grid-area: bottom; min-width: 0; padding: fn.dim(--body --pad-y) fn.dim(--body --pad-x); + + @include iro.bem-sibling-elem('body') { + padding-bottom: 0; + } + } + + @include iro.bem-elem('body') { + grid-area: body; + min-width: 0; + min-height: 0; + padding: fn.dim(--body --pad-y) fn.dim(--body --pad-x); } @include iro.bem-elem('footer') { -- cgit v1.2.3-70-g09d2