summaryrefslogtreecommitdiffstats
path: root/src/objects/_action-button.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-11-16 23:29:13 +0100
committerVolpeon <git@volpeon.ink>2024-11-16 23:29:13 +0100
commit5bf3d717c1733128c6ed1becef003c8c421bec8b (patch)
treed31ae52adafc5afb7f57f57fbbaf8d657251681b /src/objects/_action-button.scss
parentFix (diff)
downloadiro-design-5bf3d717c1733128c6ed1becef003c8c421bec8b.tar.gz
iro-design-5bf3d717c1733128c6ed1becef003c8c421bec8b.tar.bz2
iro-design-5bf3d717c1733128c6ed1becef003c8c421bec8b.zip
Fix
Diffstat (limited to 'src/objects/_action-button.scss')
-rw-r--r--src/objects/_action-button.scss4
1 files changed, 2 insertions, 2 deletions
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 @@
192 } 192 }
193 193
194 @include bem.modifier('icon') { 194 @include bem.modifier('icon') {
195 margin-inline: calc(-1 * props.get(vars.$pad-b) - props.get(vars.$border-width) - .5em * props.get(vars.$line-height)); 195 margin-inline: calc(-1 * props.get(vars.$pad-b) - props.get(vars.$border-width) - .5em * (props.get(vars.$line-height) - 1));
196 } 196 }
197 197
198 @each $mod, $pad-i, $pad-i-label, $pad-i-pill, $pad-b, $font-size in vars.$fixed-sizes { 198 @each $mod, $pad-i, $pad-i-label, $pad-i-pill, $pad-b, $font-size in vars.$fixed-sizes {
@@ -204,7 +204,7 @@
204 } 204 }
205 205
206 @include bem.modifier('icon') { 206 @include bem.modifier('icon') {
207 margin-inline: calc(-1 * props.get($pad-b) - props.get(vars.$border-width) - .5em * props.get(vars.$line-height)); 207 margin-inline: calc(-1 * props.get($pad-b) - props.get(vars.$border-width) - .5em * (props.get(vars.$line-height) - 1));
208 } 208 }
209 } 209 }
210 } 210 }