From c5e044ea42df31a594f4a4a31d9a861177ad6d5c Mon Sep 17 00:00:00 2001 From: liuyun Date: Sun, 11 Oct 2026 00:54:20 +0800 Subject: [PATCH] fix: reduce collapsed sidebar item margin and add popup icon gap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 折叠时菜单项左右 margin 8px→4px,图标放大到 24px - 折叠弹出的子菜单(teleport 到 body)用全局样式补图标与文字间距 Co-Authored-By: Claude Opus 4.8 --- src/components/ty-sidebar.vue | 19 ++++++++++++++++--- stats.html | 2 +- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/components/ty-sidebar.vue b/src/components/ty-sidebar.vue index eacdb32..973bf5c 100644 --- a/src/components/ty-sidebar.vue +++ b/src/components/ty-sidebar.vue @@ -6,6 +6,7 @@ :collapse="collapsed" :unique-opened="accordion" :collapse-transition="false" + popper-class="ty-menu-popper" @select="onSelect" >