Skip to content

Commit

Permalink
fix(demo): fix demo header static position for safari browser
Browse files Browse the repository at this point in the history
  • Loading branch information
artolshansky committed Jan 31, 2018
1 parent c09f0f9 commit d30e239
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions demo/src/assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -513,14 +513,17 @@ a:hover {
/* above 768px */
@media (min-width: 768px) {
.header {
position: -webkit-sticky;
position: sticky;
position: fixed;
width: 100%;
top: 0;
z-index: 1090; // to overlap most positioned elements in bootstrap
}
.header-dropdown {
z-index: 1090;
}
.main {
padding-top: $header-height;
}
.modal-backdrop {
z-index: 2000; // to overlap header :)
}
Expand Down

0 comments on commit d30e239

Please sign in to comment.