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 f40deca
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 @@ -512,9 +512,12 @@ a:hover {
/*** Media Query ***/
/* above 768px */
@media (min-width: 768px) {
.main {
padding-top: $header-height;
}
.header {
position: -webkit-sticky;
position: sticky;
position: fixed;
width: 100%;
top: 0;
z-index: 1090; // to overlap most positioned elements in bootstrap
}
Expand Down

0 comments on commit f40deca

Please sign in to comment.