diff options
author | Volpeon <git@volpeon.ink> | 2024-11-16 23:29:13 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-11-16 23:29:13 +0100 |
commit | 5bf3d717c1733128c6ed1becef003c8c421bec8b (patch) | |
tree | d31ae52adafc5afb7f57f57fbbaf8d657251681b /src | |
parent | Fix (diff) | |
download | iro-design-5bf3d717c1733128c6ed1becef003c8c421bec8b.tar.gz iro-design-5bf3d717c1733128c6ed1becef003c8c421bec8b.tar.bz2 iro-design-5bf3d717c1733128c6ed1becef003c8c421bec8b.zip |
Fix
Diffstat (limited to 'src')
-rw-r--r-- | src/objects/_action-button.scss | 4 |
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 | } |