diff options
author | Volpeon <git@volpeon.ink> | 2024-01-10 10:52:19 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-01-10 10:52:19 +0100 |
commit | e02ba4005638f17d91ffe5ef25a729f4febc1634 (patch) | |
tree | 6f3a9a7a2c9cfa039a8e5fbb53fb6bd32bedc052 /src/objects | |
parent | More styles for table scope (diff) | |
download | iro-design-e02ba4005638f17d91ffe5ef25a729f4febc1634.tar.gz iro-design-e02ba4005638f17d91ffe5ef25a729f4febc1634.tar.bz2 iro-design-e02ba4005638f17d91ffe5ef25a729f4febc1634.zip |
No negative margin for icons
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_icon.scss | 3 |
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; |