From 5bf3d717c1733128c6ed1becef003c8c421bec8b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 16 Nov 2024 23:29:13 +0100 Subject: Fix --- src/objects/_action-button.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_action-button.scss b/src/objects/_action-button.scss index 9e6dc14..1dd4b84 100644 --- a/src/objects/_action-button.scss +++ b/src/objects/_action-button.scss @@ -192,7 +192,7 @@ } @include bem.modifier('icon') { - margin-inline: calc(-1 * props.get(vars.$pad-b) - props.get(vars.$border-width) - .5em * props.get(vars.$line-height)); + margin-inline: calc(-1 * props.get(vars.$pad-b) - props.get(vars.$border-width) - .5em * (props.get(vars.$line-height) - 1)); } @each $mod, $pad-i, $pad-i-label, $pad-i-pill, $pad-b, $font-size in vars.$fixed-sizes { @@ -204,7 +204,7 @@ } @include bem.modifier('icon') { - margin-inline: calc(-1 * props.get($pad-b) - props.get(vars.$border-width) - .5em * props.get(vars.$line-height)); + margin-inline: calc(-1 * props.get($pad-b) - props.get(vars.$border-width) - .5em * (props.get(vars.$line-height) - 1)); } } } -- cgit v1.2.3-70-g09d2