summaryrefslogtreecommitdiffstats
path: root/src/objects/_icon.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-04-23 17:51:49 +0200
committerVolpeon <git@volpeon.ink>2024-04-23 17:51:49 +0200
commit0855207eda7258f84aebd8b6b35adc7ec7365192 (patch)
treedabbdf91dfe9708e87eaa3df8927792b4ea18abe /src/objects/_icon.scss
parentUpdate (diff)
downloadiro-design-0855207eda7258f84aebd8b6b35adc7ec7365192.tar.gz
iro-design-0855207eda7258f84aebd8b6b35adc7ec7365192.tar.bz2
iro-design-0855207eda7258f84aebd8b6b35adc7ec7365192.zip
Button fixes to handle icons without margin adjustments
Diffstat (limited to 'src/objects/_icon.scss')
-rw-r--r--src/objects/_icon.scss4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/objects/_icon.scss b/src/objects/_icon.scss
index 0522d4b..5c4bfab 100644
--- a/src/objects/_icon.scss
+++ b/src/objects/_icon.scss
@@ -6,8 +6,7 @@
6 --dims: ( 6 --dims: (
7 --stroke: 1.5px, 7 --stroke: 1.5px,
8 --size: calc(1 / 14 * 16em), 8 --size: calc(1 / 14 * 16em),
9 --margin: calc((1em - fn.dim(--size, null)) * .5), 9 --valign: -.2em,
10 --valign: -.14em,
11 ) 10 )
12 ), 'dims'); 11 ), 'dims');
13 12
@@ -15,7 +14,6 @@
15 display: inline; 14 display: inline;
16 width: fn.dim(--size); 15 width: fn.dim(--size);
17 height: fn.dim(--size); 16 height: fn.dim(--size);
18 margin: fn.dim(--margin);
19 stroke-width: fn.dim(--stroke); 17 stroke-width: fn.dim(--stroke);
20 stroke-linecap: round; 18 stroke-linecap: round;
21 stroke-linejoin: round; 19 stroke-linejoin: round;