修复差异对比文件路径标题栏的菜单样式问题

This commit is contained in:
lutinglt
2025-10-09 21:29:39 +08:00
parent 05a4dc4f8a
commit 1a5db58b4f
3 changed files with 6 additions and 2 deletions

View File

@@ -18,3 +18,4 @@
- 修复仓库页面下二级导航栏下划线过粗的问题
- 修复仪表板切换用户按钮菜单下无创建组织按钮时的菜单圆角问题
- 修复导航栏工单/PR等仪表板下筛选等菜单的子项的间距问题
- 修复差异对比文件路径标题栏的菜单样式问题

View File

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

View File

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