From 4d09ae0db1994e7fec96c2a1f1715597bead5de3 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 2 Feb 2023 18:08:23 +0100 Subject: Improved overflow button --- src/objects/_overflow-button.scss | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/objects/_overflow-button.scss') diff --git a/src/objects/_overflow-button.scss b/src/objects/_overflow-button.scss index 9922ffe..3920a37 100644 --- a/src/objects/_overflow-button.scss +++ b/src/objects/_overflow-button.scss @@ -44,6 +44,11 @@ display: inline-block; color: fn.color(--disabled --label); + @include iro.bem-elem('outside') { + display: inline-block; + margin-right: fn.dim(--spacing); + } + @include iro.bem-elem('inside') { display: inline-block; padding: fn.dim(--pad-y) fn.dim(--pad-x); @@ -54,11 +59,11 @@ text-decoration: none; text-overflow: ellipsis; white-space: nowrap; - } - @include iro.bem-elem('outside') { - display: inline-block; - margin-left: fn.dim(--spacing); + @include iro.bem-next-elem('outside') { + margin-right: 0; + margin-left: fn.dim(--spacing); + } } &:link, -- cgit v1.2.3-70-g09d2