Show line in menu on mobile

This commit is contained in:
Sinclair Chen 2022-07-20 12:36:23 -07:00
parent 202132868f
commit 0870397fea

View File

@ -235,7 +235,10 @@ export default function Sidebar(props: { className?: string }) {
buttonContent={<MoreButton />} buttonContent={<MoreButton />}
/> />
)} )}
{/* Spacer if there are any groups */}
{memberItems.length > 0 && (
<hr className="!my-4 mr-2 border-gray-300" />
)}
{privateUser && ( {privateUser && (
<GroupsList <GroupsList
currentPage={router.asPath} currentPage={router.asPath}
@ -256,11 +259,7 @@ export default function Sidebar(props: { className?: string }) {
/> />
{/* Spacer if there are any groups */} {/* Spacer if there are any groups */}
{memberItems.length > 0 && ( {memberItems.length > 0 && <hr className="!my-4 border-gray-300" />}
<div className="py-3">
<div className="h-[1px] bg-gray-300" />
</div>
)}
{privateUser && ( {privateUser && (
<GroupsList <GroupsList
currentPage={router.asPath} currentPage={router.asPath}