From 1a5db58b4fb4dbde43a32deed20182f7f5c69059 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Thu, 9 Oct 2025 21:29:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=AE=E5=BC=82=E5=AF=B9?= =?UTF-8?q?=E6=AF=94=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E6=A0=8F=E7=9A=84=E8=8F=9C=E5=8D=95=E6=A0=B7=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + styles/components/clone.ts | 2 +- styles/public/tippy.ts | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c1e51e..e07bb54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,3 +18,4 @@ - 修复仓库页面下二级导航栏下划线过粗的问题 - 修复仪表板切换用户按钮菜单下无创建组织按钮时的菜单圆角问题 - 修复导航栏工单/PR等仪表板下筛选等菜单的子项的间距问题 +- 修复差异对比文件路径标题栏的菜单样式问题 diff --git a/styles/components/clone.ts b/styles/components/clone.ts index fa878fb..febd13a 100644 --- a/styles/components/clone.ts +++ b/styles/components/clone.ts @@ -92,7 +92,7 @@ export const clone = css` .item { border-radius: ${otherThemeVars.border.radius}; padding: 6px 8px; - min-height: 32px; + height: 32px; margin: 0; svg { color: ${themeVars.color.text.light.num1}; diff --git a/styles/public/tippy.ts b/styles/public/tippy.ts index 0ce2409..8eda702 100644 --- a/styles/public/tippy.ts +++ b/styles/public/tippy.ts @@ -15,7 +15,8 @@ export const tippyBox = css` border: unset; box-shadow: ${themeVars.github.shadow.floating.small}; } - &[data-theme="default"] { + &[data-theme="default"], + &[data-theme="menu"] { border-radius: 12px; } &[data-theme="box-with-header"] { @@ -32,6 +33,8 @@ export const tippyBox = css` padding: 8px; .item { border-radius: ${otherThemeVars.border.radius}; + padding: 6px 8px; + height: 32px; &:hover { background-color: ${themeVars.github.control.transparent.bgColor.hover}; }