Skip to content
Snippets Groups Projects
Commit 6a1f0681 authored by Jess's avatar Jess
Browse files

Issue #2825154 by michael_wojcik, tkoleary, tedbow: "offcanvas-lining" div...

Issue #2825154 by michael_wojcik, tkoleary, tedbow: "offcanvas-lining" div inappropriately covers whole page
parent dbf488c9
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -38,12 +38,3 @@
[dir="rtl"] .toolbar .toolbar-bar .contextual-toolbar-tab.toolbar-tab {
float: right;
}
.offcanvas-lining {
background: #333;
position: absolute;
top: 0;
height: 100%;
width: 100%;
z-index: -1;
}
......@@ -120,6 +120,9 @@
of: window
};
settings.dialogClass = 'ui-dialog-offcanvas';
// Applies initial height to dialog based on window height.
// See http://api.jqueryui.com/dialog for all dialog options.
settings.height = $(window).height();
}
},
'dialog:beforeclose': function (event, dialog, $element) {
......
......@@ -17,5 +17,4 @@
{{ children }}
</div>
</div>
<div class="offcanvas-lining"></div>
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment