{% comment %}
The sidebar is a sibling of , not inside it, so it sits outside the one
scrolling region and stays put by construction. Pages with no menu (the auth
screens) leave the block empty and simply takes the full width.
{% endcomment %}
{% block menu %}{% endblock menu %}
{% comment %}
`scrollbar-gutter: stable` reserves the scrollbar's width whether or not
the page actually overflows -- without it, a short page (nothing to
scroll) renders a hair wider than a tall one (scrollbar eats the width),
and switching between them visibly shifts the content.
{% endcomment %}
{% comment %}
allauth puts page-level scripts and out-of-form markup here — notably the
hidden `mfa_login` form the passkey button submits. Without this block that
form is never rendered and "Sign in with a passkey" is a dead button.
{% endcomment %}
{% block extra_body %}{% endblock extra_body %}
{% if messages %}
{% for message in messages %}
{% with alert=message|as_alert %}
{% endif %}
{% block main %}{% endblock main %}
{% lucide alert.icon size=20 %}
{% endwith %}
{% endfor %}
{{ alert.title }}
{{ alert.body }}