Skip to content

Commit 275c510

Browse files
author
Elliott Marquez
authored
add a default z-index to app-dialog:host (#582)
1 parent 3f99017 commit 275c510

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

app-drawer/app-drawer.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ Polymer({
7272
<style>
7373
:host {
7474
position: fixed;
75+
/* Set a default z-index to handle most cases where the page content
76+
that comes after <app-drawer> in the dom has a stacking context with
77+
no z-index defined.
78+
*/
79+
z-index: 1;
7580
top: -120px;
7681
right: 0;
7782
bottom: -120px;

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)