diff --git a/.github/release.md b/.github/release.md index 76ed1c0..f80149d 100644 --- a/.github/release.md +++ b/.github/release.md @@ -7,3 +7,4 @@ ### 🐞 Fix - 修复后台账户管理排序菜单项的宽度问题 +- 修复合并提交中的主色调按钮组阴影问题 diff --git a/styles/public/button.ts b/styles/public/button.ts index 81f2543..174a1df 100644 --- a/styles/public/button.ts +++ b/styles/public/button.ts @@ -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}; + } } // 主色调基本按钮和普通按钮一样 // 作者的关注按钮