Add a line spacer on the sidebar

This commit is contained in:
Austin Chen 2022-06-29 17:51:11 -05:00
parent 3b4666ba3e
commit 19d12c949a

View File

@ -230,7 +230,12 @@ export default function Sidebar(props: { className?: string }) {
buttonContent={<MoreButton />}
/>
{memberItems.length > 0 && <Spacer h={6} />}
{/* Spacer if there are any groups */}
{memberItems.length > 0 && (
<div className="py-3">
<div className="h-[1px] bg-gray-300" />
</div>
)}
<GroupsList currentPage={currentPage} memberItems={memberItems} />
</div>
</nav>