From 902b1b6d276d5535949c9ff7cba4c3274cae2954 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 14 Feb 2022 10:11:32 +0100 Subject: Update --- src/_utils.scss | 8 ++++++++ src/objects/_dialog.scss | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/_utils.scss b/src/_utils.scss index ae72f65..3c8b1c3 100644 --- a/src/_utils.scss +++ b/src/_utils.scss @@ -9,6 +9,10 @@ display: contents; } +@include iro.bem-utility('o-auto') { + overflow: auto; +} + @include iro.bem-utility('elp') { overflow: hidden; text-overflow: ellipsis; @@ -26,6 +30,10 @@ margin-top: 0; } +@include iro.bem-utility('ml-auto') { + margin-left: auto; +} + @each $size in ('xxs' 'xs' 'sm' 'md' 'lg' 'xl') { @include iro.bem-utility('p-#{$size}') { padding: fn.global-dim(--spacing --#{$size}); diff --git a/src/objects/_dialog.scss b/src/objects/_dialog.scss index 45af8b6..050b7ca 100644 --- a/src/objects/_dialog.scss +++ b/src/objects/_dialog.scss @@ -69,7 +69,6 @@ grid-area: body; min-height: 0; margin-top: fn.dim(--title-body-spacing); - overflow: auto; } @include iro.bem-elem('footer') { -- cgit v1.2.3-70-g09d2