From 206db09c94a2da2bb368bef9b82a39bd8efc0cd0 Mon Sep 17 00:00:00 2001 From: Apoorv Mishra Date: Thu, 7 Dec 2023 17:19:54 +0530 Subject: [PATCH] fix: gap between drafts and starred section --- app/components/Sidebar/components/Section.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/components/Sidebar/components/Section.ts b/app/components/Sidebar/components/Section.ts index 64f4d3933d..815b044aaa 100644 --- a/app/components/Sidebar/components/Section.ts +++ b/app/components/Sidebar/components/Section.ts @@ -11,6 +11,10 @@ const Section = styled(Flex)` &:first-child { margin-top: 20px; } + + &:empty { + display: none; + } `; export default Section;