From 4539fe01fb75dc9722ef9d7a72e4c7a1f1761da0 Mon Sep 17 00:00:00 2001 From: xlsea Date: Fri, 8 Aug 2025 17:17:23 +0800 Subject: [PATCH] fix(projects): Fix the icon size in the image preview toolbar --- src/styles/css/reset.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/styles/css/reset.css b/src/styles/css/reset.css index b813d307..77a00356 100644 --- a/src/styles/css/reset.css +++ b/src/styles/css/reset.css @@ -13,6 +13,13 @@ border-color: var(--un-default-border-color, #e5e7eb); /* 2 */ } +/* +* [Naive UI] Fix the icon size in the image preview toolbar +*/ +.n-image-preview-toolbar .n-base-icon { + box-sizing: unset !important; +} + /* 1. Use a consistent sensible line-height in all browsers. 2. Prevent adjustments of font size after orientation changes in iOS.