backports murph-skeleton

This commit is contained in:
Simon Vieille 2021-06-22 12:38:16 +02:00
parent 7ca34692c9
commit 58cc65f3fe

View file

@ -70,8 +70,8 @@ body {
top: 0;
bottom: 0;
left: 0;
z-index: 100; /* Behind the navbar */
padding: 71px 0 0; /* Height of navbar */
z-index: 100;
padding: 71px 0 0;
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
@ -81,7 +81,11 @@ body {
height: calc(100vh - 71px);
padding-top: .5rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
overflow-y: hidden;
&:hover {
overflow-y: auto;
}
}
@supports ((position: -webkit-sticky) or (position: sticky)) {