同步提示框样式

This commit is contained in:
lutinglt
2025-09-09 10:41:23 +08:00
parent 46c2d46482
commit 1a702c9526
8 changed files with 23 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ export const tippyBox = css`
// 差异对比中文件路径行右侧的三个点菜单
&[data-theme="menu"] {
.tippy-content {
padding: 0.5rem;
padding: 8px;
.item {
border-radius: ${otherThemeVars.border.radius};
&:hover {
@@ -35,5 +35,14 @@ export const tippyBox = css`
}
}
}
// 专门用于提示信息的提示框, 比如提交的具体时间, 任务状态等
&[data-theme="tooltip"] {
border-radius: ${otherThemeVars.border.radius};
.tippy-content {
font-size: 12px;
font-weight: 400;
padding: 4px 8px;
}
}
}
`;