Skip to content

Commit 2f0e7f8

Browse files
artolshanskyvalorkin
authored andcommitted
fix(demo): fix demo header static position for safari browser (#3600)
close #3312
1 parent 72df5c7 commit 2f0e7f8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

demo/src/assets/css/style.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,14 +517,17 @@ a:hover {
517517
/* above 768px */
518518
@media (min-width: 768px) {
519519
.header {
520-
position: -webkit-sticky;
521-
position: sticky;
520+
position: fixed;
521+
width: 100%;
522522
top: 0;
523523
z-index: 1090; // to overlap most positioned elements in bootstrap
524524
}
525525
.header-dropdown {
526526
z-index: 1090;
527527
}
528+
.main {
529+
padding-top: $header-height;
530+
}
528531
.modal-backdrop {
529532
z-index: 2000; // to overlap header :)
530533
}

0 commit comments

Comments
 (0)