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}; }