Skip to content

Commit

Permalink
Fix mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoSot committed Jun 24, 2021
1 parent a585c81 commit bbd87ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scss/_offcanvas.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}

.offcanvas-backdrop {
@include overlay-backdrop($zindex-offcanvas, $offcanvas-backdrop-bg, $offcanvas-backdrop-opacity);
@include overlay-backdrop(subtract($zindex-offcanvas, 1), $offcanvas-backdrop-bg, $offcanvas-backdrop-opacity);
}

.offcanvas-header {
Expand Down
6 changes: 3 additions & 3 deletions scss/mixins/_backdrop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
position: fixed;
top: 0;
left: 0;
z-index: $zindex-modal-backdrop;
z-index: $zindex;
width: 100vw;
height: 100vh;
background-color: $modal-backdrop-bg;
background-color: $backdrop-bg;

// Fade for backdrop
&.fade { opacity: 0; }
&.show { opacity: $modal-backdrop-opacity; }
&.show { opacity: $backdrop-opacity; }
}

0 comments on commit bbd87ca

Please sign in to comment.