Stick right sidebar on page bottom
This commit is contained in:
parent
dde4a8b057
commit
67a9189057
|
@ -28,6 +28,9 @@ export function Page(props: {
|
|||
)}
|
||||
>
|
||||
{children}
|
||||
|
||||
{/* If right sidebar is hidden, place its content at the bottom of the page. */}
|
||||
<div className="block xl:hidden">{rightSidebar}</div>
|
||||
</main>
|
||||
<aside className="hidden xl:col-span-3 xl:block">
|
||||
<div className="sticky top-4 space-y-4">{rightSidebar}</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user