From cdbeaf402e33a20d0a11d65eca2339d4f8af4776 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 a69431128d..8baf76a217 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`