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

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

1
.github/release.md vendored
View File

@@ -7,3 +7,4 @@
### 🐞 Fix ### 🐞 Fix
- 修复后台账户管理排序菜单项的宽度问题 - 修复后台账户管理排序菜单项的宽度问题
- 修复合并提交中的主色调按钮组阴影问题

View File

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