From b84d38b7f9eeb73b3e7033aec1c7a8eb4a1e8111 Mon Sep 17 00:00:00 2001 From: Erzbir Date: Mon, 17 Nov 2025 11:23:23 +0800 Subject: [PATCH] style: adjust icon style --- src/styles/sns.scss | 4 ++-- templates/modules/sns.html | 14 ++++++-------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/styles/sns.scss b/src/styles/sns.scss index 9e0f3ab..9a5ee06 100644 --- a/src/styles/sns.scss +++ b/src/styles/sns.scss @@ -18,8 +18,8 @@ .sns-container .sns-icon svg { - width: calc(var(--font-theme-size) * 1.5); - height: calc(var(--font-theme-size) * 1.5); + width: calc(var(--font-theme-size) * 1.2); + height: calc(var(--font-theme-size) * 1.2); } .sns-container .divider { diff --git a/templates/modules/sns.html b/templates/modules/sns.html index 8447f07..a5f28d1 100644 --- a/templates/modules/sns.html +++ b/templates/modules/sns.html @@ -6,10 +6,8 @@ target="_blank" th:href="'mailto:'+${theme.config.sns.email}" th:if="${not #strings.isEmpty(theme.config.sns.email)}"> - - - + + @@ -25,8 +23,8 @@ aria-label="Find me on GitHub" th:href="'https://github.com/'+${theme.config.sns.github}" th:if="${not #strings.isEmpty(theme.config.sns.github)}"> - - + + @@ -58,8 +56,8 @@ aria-label="Find me on Telegram" th:href="'https://t.me/'+${theme.config.sns.telegram}" th:if="${not #strings.isEmpty(theme.config.sns.telegram)}"> - - + +