From 0870397fea13df257903a53ef0de60c885c69cf4 Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Wed, 20 Jul 2022 12:36:23 -0700 Subject: [PATCH] Show line in menu on mobile --- web/components/nav/sidebar.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 77af99e0..ff740540 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -235,7 +235,10 @@ export default function Sidebar(props: { className?: string }) { buttonContent={} /> )} - + {/* Spacer if there are any groups */} + {memberItems.length > 0 && ( +
+ )} {privateUser && ( {/* Spacer if there are any groups */} - {memberItems.length > 0 && ( -
-
-
- )} + {memberItems.length > 0 &&
} {privateUser && (