From 8f0b09143bd17d698d23862dc8c7d41333ad0faa Mon Sep 17 00:00:00 2001 From: zhf <1204297681@qq.com> Date: Mon, 22 Sep 2025 19:51:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E6=A0=B7=E5=BC=8F=E6=98=BE=E7=A4=BA=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ src/control/app-menu/app-menu.scss | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c706df91..2865d13e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ ## [Unreleased] +### Fixed + +- 修复菜单图标样式显示不正确异常 + ## [0.7.41-alpha.27] - 2025-09-19 ### Added diff --git a/src/control/app-menu/app-menu.scss b/src/control/app-menu/app-menu.scss index 1bd6b960e..c79f4e0f4 100644 --- a/src/control/app-menu/app-menu.scss +++ b/src/control/app-menu/app-menu.scss @@ -282,8 +282,8 @@ $control-appmenu-item: ( font-size: getCssVar('control-appmenu','icon-size'); > svg { - width: getCssVar('control-appmenu', 'icon-width'); - height: getCssVar('control-appmenu', 'icon-height'); + max-width: getCssVar('control-appmenu', 'icon-width'); + max-height: getCssVar('control-appmenu', 'icon-height'); } } -- Gitee