Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / outside_in / templates / outside-in-page-wrapper.html.twig
1 {#
2 /**
3  * @file
4  * Default theme implementation for a page wrapper.
5  *
6  * For consistent wrapping to {{ page }} render in all themes. The
7  * "data-off-canvas-main-canvas" attribute is required by the off-canvas dialog.
8  * This is used by the outside_in/drupal.off_canvas library to select the
9  * "main canvas" page element as opposed to the "off canvas" which is the tray
10  * itself. The "main canvas" element must be resized according to the width of
11  * the "off canvas" tray so that no portion of the "main canvas" is obstructed
12  * by the tray. The tray can vary in width when opened and can be resized by the
13  * user. The "data-off-canvas-main-canvas" attribute cannot be removed without
14  * breaking the off-canvas dialog functionality.
15  *
16  * Available variables:
17  * - children: Contains the child elements of the page.
18  *
19  * @ingroup themeable
20  */
21 #}
22 {% if children %}
23   <div class="dialog-off-canvas__main-canvas" data-off-canvas-main-canvas >
24     {{ children }}
25   </div>
26 {% endif %}