From 35c4ae303dbb62398c015c175b27d7b75d6ff183 Mon Sep 17 00:00:00 2001 From: Quinton Miller Date: Mon, 6 Nov 2023 23:12:35 +0800 Subject: [PATCH] fixup `hex-icon` --- _sass/elements/_hex-icon.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_sass/elements/_hex-icon.scss b/_sass/elements/_hex-icon.scss index 63492803..b4ab3b28 100644 --- a/_sass/elements/_hex-icon.scss +++ b/_sass/elements/_hex-icon.scss @@ -32,8 +32,8 @@ & > * { position: absolute; - width: 24px; - height: 24px; + width: calc(var(--icon-height) / 2); + height: calc(var(--icon-height) / 2); top: 50%; left: 50%; transform: translate(-50%, -50%);