From 4bdbb764eefb2ea9d7ecc0c005a62d40d671e1e6 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Fri, 12 Sep 2025 10:26:29 +0800 Subject: [PATCH] fix --- styles/public/button.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/styles/public/button.ts b/styles/public/button.ts index 174a1df..9db1934 100644 --- a/styles/public/button.ts +++ b/styles/public/button.ts @@ -35,8 +35,6 @@ export const baseButton = css` // 按钮组, PR 里的压缩合并按钮 &.buttons .button { ${primaryStyle} - // 按钮组里的按钮无阴影 - box-shadow: none; &:hover { ${primaryHoverStyle} } @@ -44,6 +42,10 @@ export const baseButton = css` // 按钮组整体有阴影 &.buttons { box-shadow: ${themeVars.github.shadow.resting.small}; + .button { + // 按钮组里的按钮无阴影 + box-shadow: none; + } } } // 主色调基本按钮和普通按钮一样