summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-01-10 10:52:19 +0100
committerVolpeon <git@volpeon.ink>2024-01-10 10:52:19 +0100
commite02ba4005638f17d91ffe5ef25a729f4febc1634 (patch)
tree6f3a9a7a2c9cfa039a8e5fbb53fb6bd32bedc052
parentMore styles for table scope (diff)
downloadiro-design-e02ba4005638f17d91ffe5ef25a729f4febc1634.tar.gz
iro-design-e02ba4005638f17d91ffe5ef25a729f4febc1634.tar.bz2
iro-design-e02ba4005638f17d91ffe5ef25a729f4febc1634.zip
No negative margin for icons
-rw-r--r--src/objects/_icon.scss3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/objects/_icon.scss b/src/objects/_icon.scss
index bb48efd..8ee9485 100644
--- a/src/objects/_icon.scss
+++ b/src/objects/_icon.scss
@@ -6,7 +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 --valign: -.12em 9 --valign: -.15em
10 ) 10 )
11 ), 'dims'); 11 ), 'dims');
12 12
@@ -14,7 +14,6 @@
14 display: inline; 14 display: inline;
15 width: fn.dim(--size); 15 width: fn.dim(--size);
16 height: fn.dim(--size); 16 height: fn.dim(--size);
17 margin: calc(.5 * (1em - fn.dim(--size)));
18 stroke-width: fn.dim(--stroke); 17 stroke-width: fn.dim(--stroke);
19 stroke-linecap: round; 18 stroke-linecap: round;
20 stroke-linejoin: round; 19 stroke-linejoin: round;