Show line in menu on mobile
This commit is contained in:
parent
202132868f
commit
0870397fea
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user