From 0855207eda7258f84aebd8b6b35adc7ec7365192 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 23 Apr 2024 17:51:49 +0200 Subject: Button fixes to handle icons without margin adjustments --- src/objects/_icon.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/objects/_icon.scss') 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 @@ --dims: ( --stroke: 1.5px, --size: calc(1 / 14 * 16em), - --margin: calc((1em - fn.dim(--size, null)) * .5), - --valign: -.14em, + --valign: -.2em, ) ), 'dims'); @@ -15,7 +14,6 @@ display: inline; width: fn.dim(--size); height: fn.dim(--size); - margin: fn.dim(--margin); stroke-width: fn.dim(--stroke); stroke-linecap: round; stroke-linejoin: round; -- cgit v1.2.3-70-g09d2