{% comment %} left-0, right-0, their offcanvas offsets and border-l and border-r stay physical: side="left" and side="right" name a side of the screen, and that side does not change with the direction. {% endcomment %} {% if collapsible == 'none' %}
{{ slot }}
{% else %} {% comment %} Upstream swaps the whole panel for a Sheet below md. Here one tree serves both: the gap that reserves desktop space is dropped, and the panel slides in over a backdrop. data-collapsible stays empty while mobile so none of the icon-width rules reach the overlay. {% endcomment %}
{{ slot }}
{% endif %}