Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(electron): remove active tab shadow (#8284)

pengx17a430367c36fe
diff --git a/packages/frontend/core/src/modules/app-tabs-header/views/styles.css.ts b/packages/frontend/core/src/modules/app-tabs-header/views/styles.css.ts
index 19309a6542..59a130439d 100644
--- a/packages/frontend/core/src/modules/app-tabs-header/views/styles.css.ts
+++ b/packages/frontend/core/src/modules/app-tabs-header/views/styles.css.ts
@@ -95,7 +95,7 @@ export const tab = style({
marginRight: 8,
},
'&[data-active="true"]': {
- boxShadow: cssVar('buttonShadow'),
+ boxShadow: `0 0 0 1px ${cssVarV2('button/innerBlackBorder')}`,
},
'&[data-pinned="true"]': {
maxWidth: 64,