From 4d58f2b4c79c9742394c651435adcf6c10f937c1 Mon Sep 17 00:00:00 2001 From: JimmFly Date: Fri, 18 Aug 2023 08:59:37 +0800 Subject: [PATCH] fix: wrong cascading relationship (#3800) --- apps/core/src/components/pure/header/style.css.tsx | 1 + apps/core/src/components/pure/trash-button-group/styles.css.ts | 1 + 2 files changed, 2 insertions(+) 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)',