From e1287a94704c01e38748062c42a0e4cace8d683d Mon Sep 17 00:00:00 2001 From: Leilei332 Date: Sun, 20 Oct 2024 17:35:21 +0800 Subject: [PATCH] Fix smaller editor toolbar icons (#8691) A small fix for the problem introduced in #8688 --- themes/tiddlywiki/vanilla/base.tid | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 542ee2fa9..56d559e9e 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -720,8 +720,8 @@ html body.tc-body .tc-btn-rounded:hover svg { } button svg.tc-image-button, button .tc-image-button img { - max-height: 1em; - max-width: 1em; + height: 1em; + width: 1em; } .tc-unfold-banner { @@ -2868,7 +2868,9 @@ a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk .tc-plugin-info-sta .tc-language-chooser .tc-image-button img { max-width: 2em; + max-height: 1em; width: auto; + height: auto; vertical-align: -0.15em; }