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

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

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