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: wrong cascading relationship (#3800)

JimmFly4d58f2b4c79c
diff --git a/apps/core/src/components/pure/header/style.css.tsx b/apps/core/src/components/pure/header/style.css.tsx
index 781028b0f5..17c6d72a0c 100644
--- a/apps/core/src/components/pure/header/style.css.tsx
+++ b/apps/core/src/components/pure/header/style.css.tsx
@@ -8,6 +8,7 @@ export const header = style({
padding: '0 16px',
minHeight: '52px',
borderBottom: '1px solid var(--affine-border-color)',
+ zIndex: 2,
selectors: {
'&[data-sidebar-floating="false"]': {
WebkitAppRegion: 'drag',
diff --git a/apps/core/src/components/pure/trash-button-group/styles.css.ts b/apps/core/src/components/pure/trash-button-group/styles.css.ts
index 29160566d2..75ad377019 100644
--- a/apps/core/src/components/pure/trash-button-group/styles.css.ts
+++ b/apps/core/src/components/pure/trash-button-group/styles.css.ts
@@ -8,6 +8,7 @@ export const group = style({
display: 'flex',
gap: '24px',
justifyContent: 'center',
+ zIndex: 2,
});
export const buttonContainer = style({
boxShadow: 'var(--affine-float-button-shadow-2)',