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 1f6df77
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 @@ -296,6 +296,7 @@ a:hover {
}
/* content */
.main-container {
padding-top: 30px;
flex: 0 0 66.666667%;
max-width: 66.666667%;
}
Expand Down Expand Up @@ -513,8 +514,10 @@ a:hover {
/* above 768px */
@media (min-width: 768px) {
.header {
position: -webkit-sticky;
position: sticky;
position: fixed;
width: 100%;
/*position: -webkit-sticky;
position: sticky;*/
top: 0;
z-index: 1090; // to overlap most positioned elements in bootstrap
}
Expand Down

0 comments on commit 1f6df77

Please sign in to comment.