From 598ad5bb1e18acf131f83c31aa446ddff16bc57c Mon Sep 17 00:00:00 2001 From: Erzbir Date: Sat, 2 Aug 2025 20:54:09 +0800 Subject: [PATCH] style: move inline style to external CSS --- src/styles/icons.scss | 2 ++ templates/modules/header.html | 15 ++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/styles/icons.scss b/src/styles/icons.scss index 5a60339..29b3d97 100644 --- a/src/styles/icons.scss +++ b/src/styles/icons.scss @@ -1,6 +1,8 @@ .icon-pixel, .icon-regular { display: none; + width: 1.5rem; + height: 1.5rem; } html[pixel_style='false'] .icon-regular { diff --git a/templates/modules/header.html b/templates/modules/header.html index d0532c1..48912ca 100644 --- a/templates/modules/header.html +++ b/templates/modules/header.html @@ -10,14 +10,14 @@ type="button" th:if="${pluginFinder.available('PluginSearchWidget')}" onclick="SearchWidget.open()"> - - @@ -27,9 +27,6 @@ @@ -40,13 +37,17 @@ + xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">