From 3fb630cd9ba63f8e4cdb9a9426fd5936657dc819 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 16 Nov 2024 11:39:45 +0100 Subject: Fix --- src/objects/_action-button.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/objects/_action-button.scss b/src/objects/_action-button.scss index df28182..9e6dc14 100644 --- a/src/objects/_action-button.scss +++ b/src/objects/_action-button.scss @@ -185,26 +185,26 @@ } @include bem.modifier('align-block') { - margin-inline: calc(-1 * props.get(vars.$pad-i)); + margin-inline: calc(-1 * props.get(vars.$pad-i) - props.get(vars.$border-width)); @include bem.modifier('pill') { - margin-inline: calc(-1 * props.get(vars.$pad-i-pill)); + margin-inline: calc(-1 * props.get(vars.$pad-i-pill) - props.get(vars.$border-width)); } @include bem.modifier('icon') { - margin-inline: calc(-1 * props.get(vars.$pad-b) - .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)); } @each $mod, $pad-i, $pad-i-label, $pad-i-pill, $pad-b, $font-size in vars.$fixed-sizes { @include bem.modifier($mod) { - margin-inline: calc(-1 * props.get($pad-i)); + margin-inline: calc(-1 * props.get($pad-i) - props.get(vars.$border-width)); @include bem.modifier('pill') { - margin-inline: calc(-1 * props.get($pad-i-pill)); + margin-inline: calc(-1 * props.get($pad-i-pill) - props.get(vars.$border-width)); } @include bem.modifier('icon') { - margin-inline: calc(-1 * props.get($pad-b) - .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)); } } } -- cgit v1.2.3-70-g09d2