{# @description Width-constraint wrapper for page content. #} {# @prop width:select['narrow','medium','wide','full'] | default:"wide" | description:"How wide the content is: a 672px column, an 896px column, the standard container that steps with the screen up to 1536px, or the whole screen. Every width is centred and fills a screen narrower than itself." #} {# @prop fill:boolean | description:"Full width and height with no max-width constraint. Ignores width." #} {# @prop class:text | description:"Extra classes on the root element." #} {# @slot Page content — The wrapped content. #} {% comment %} The two columns are sized by their content, not by a padded box, so `narrow` is 672px of content and not 672px less the gutters. The calc() leaves the same 1rem gutter each side that `px-4` gives the other widths. {% endcomment %}
{{ slot }}