Force scrollbar always visible on OS X

This commit is contained in:
Chris Hill-Scott
2017-12-11 14:10:45 +00:00
parent 8bfb67c702
commit a58cb75b88

View File

@@ -15,6 +15,25 @@ body.with-fullscreen {
margin-bottom: 5px;
}
&::-webkit-scrollbar {
-webkit-appearance: none;
}
&::-webkit-scrollbar:vertical {
width: 11px;
}
&::-webkit-scrollbar-thumb {
border-radius: 8px;
border: 2px solid $white;
background-color: rgba(0, 0, 0, .5);
}
&::-webkit-scrollbar-track {
background-color: $white;
border-radius: 8px;
}
}
@@ -36,6 +55,25 @@ body.with-fullscreen {
position: absolute;
padding-left: $gutter-half;
&::-webkit-scrollbar {
-webkit-appearance: none;
}
&::-webkit-scrollbar:horizontal {
height: 11px;
}
&::-webkit-scrollbar-thumb {
border-radius: 8px;
border: 2px solid $white;
background-color: rgba(0, 0, 0, .5);
}
&::-webkit-scrollbar-track {
background-color: $white;
border-radius: 8px;
}
.banner-dangerous {
margin: $gutter-half $gutter-half 0 $gutter-half;
position: sticky;