修复合并提交中的主色调按钮组阴影问题

This commit is contained in:
lutinglt
2025-09-12 09:28:23 +08:00
parent e4cf7abcdc
commit ff586c7385
2 changed files with 7 additions and 0 deletions

View File

@@ -35,10 +35,16 @@ export const baseButton = css`
// 按钮组, PR 里的压缩合并按钮
&.buttons .button {
${primaryStyle}
// 按钮组里的按钮无阴影
box-shadow: none;
&:hover {
${primaryHoverStyle}
}
}
// 按钮组整体有阴影
&.buttons {
box-shadow: ${themeVars.github.shadow.resting.small};
}
}
// 主色调基本按钮和普通按钮一样
// 作者的关注按钮