From 101934fcb11fe138abcd54eeb0b1d5c2b29a3502 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 29 Oct 2023 21:43:11 +0100 Subject: Normalize icon bounding box --- src/objects/_icon.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/objects/_icon.scss') diff --git a/src/objects/_icon.scss b/src/objects/_icon.scss index 170dca5..bb48efd 100644 --- a/src/objects/_icon.scss +++ b/src/objects/_icon.scss @@ -6,7 +6,7 @@ --dims: ( --stroke: 1.5px, --size: calc(1 / 14 * 16em), - --valign: -.18em + --valign: -.12em ) ), 'dims'); @@ -14,6 +14,7 @@ display: inline; width: fn.dim(--size); height: fn.dim(--size); + margin: calc(.5 * (1em - fn.dim(--size))); stroke-width: fn.dim(--stroke); stroke-linecap: round; stroke-linejoin: round; -- cgit v1.2.3-70-g09d2