From ff586c73858a71491036d35e9359a67e60a03e10 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Fri, 12 Sep 2025 09:28:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=88=E5=B9=B6=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=B8=AD=E7=9A=84=E4=B8=BB=E8=89=B2=E8=B0=83=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E7=BB=84=E9=98=B4=E5=BD=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 1 + styles/public/button.ts | 6 ++++++ 2 files changed, 7 insertions(+) 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}; + } } // 主色调基本按钮和普通按钮一样 // 作者的关注按钮