Skip to content

Commit

Permalink
move the overflow-y to the sticky @supports block
Browse files Browse the repository at this point in the history
also remove the overflow-x. when you specify either overflow-y or overflow-x, the other is essentially nullified and thus ineffective anyway
  • Loading branch information
mdo committed Jul 4, 2017
1 parent bc70d19 commit f093b90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assets/scss/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
position: sticky;
top: 4rem;
max-height: calc(100vh - 4rem);
overflow-y: auto;
}
order: 2;
padding-top: 1.5rem;
padding-bottom: 1.5rem;
overflow-x: visible;
overflow-y: auto;
font-size: .875rem;
}

Expand Down

0 comments on commit f093b90

Please sign in to comment.