X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Foutside_in%2Ftemplates%2Foutside-in-page-wrapper.html.twig;fp=web%2Fcore%2Fmodules%2Foutside_in%2Ftemplates%2Foutside-in-page-wrapper.html.twig;h=11c7f5311d8508a6096a5b37b556eeef3693f1e6;hp=b224deb9355a2fd34e5cbc8d6adcd54e59511edf;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a diff --git a/web/core/modules/outside_in/templates/outside-in-page-wrapper.html.twig b/web/core/modules/outside_in/templates/outside-in-page-wrapper.html.twig index b224deb93..11c7f5311 100644 --- a/web/core/modules/outside_in/templates/outside-in-page-wrapper.html.twig +++ b/web/core/modules/outside_in/templates/outside-in-page-wrapper.html.twig @@ -5,7 +5,13 @@ * * For consistent wrapping to {{ page }} render in all themes. The * "data-off-canvas-main-canvas" attribute is required by the off-canvas dialog. - * It cannot be removed without breaking the off-canvas dialog functionality. + * This is used by the outside_in/drupal.off_canvas library to select the + * "main canvas" page element as opposed to the "off canvas" which is the tray + * itself. The "main canvas" element must be resized according to the width of + * the "off canvas" tray so that no portion of the "main canvas" is obstructed + * by the tray. The tray can vary in width when opened and can be resized by the + * user. The "data-off-canvas-main-canvas" attribute cannot be removed without + * breaking the off-canvas dialog functionality. * * Available variables: * - children: Contains the child elements of the page.