Stick right sidebar on page bottom

This commit is contained in:
Austin Chen 2022-03-30 22:19:19 -07:00
parent dde4a8b057
commit 67a9189057

View File

@ -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>