From ff8b3cc0f4ab6bc92748da5297c025c86054cb96 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 18 Jan 2024 21:21:44 -0500 Subject: [PATCH] fix: TOC above emoji in title, closes #6400 --- app/scenes/Document/components/DocumentTitle.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/scenes/Document/components/DocumentTitle.tsx b/app/scenes/Document/components/DocumentTitle.tsx index 43ae82d4b..30502751f 100644 --- a/app/scenes/Document/components/DocumentTitle.tsx +++ b/app/scenes/Document/components/DocumentTitle.tsx @@ -295,6 +295,9 @@ const EmojiWrapper = styled(Flex)<{ $position: "top" | "side"; dir?: string }>` height: 32px; width: 32px; + // Always move above TOC + z-index: 1; + ${(props) => props.$position === "top" ? css`