User overflow:auto instead of overflow:scroll

Firefox does not support scrollbars customization like webkit does
because it is not part of the CSS standard. So it is better to hide the
scrollbars when they are not needed.

Fix #96

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2017-01-14 09:36:32 +01:00
parent 364309d47a
commit 60782d7369
2 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@
// List of items // List of items
.md-nav__list { .md-nav__list {
flex: 1; flex: 1;
overflow-y: scroll; overflow-y: auto;
} }
// List item // List item

View File

@ -108,7 +108,7 @@
// Wrapper for scrolling on overflow // Wrapper for scrolling on overflow
&__scrollwrap { &__scrollwrap {
margin: 2.4rem 0.4rem; margin: 2.4rem 0.4rem;
overflow-y: scroll; overflow-y: auto;
// [tablet -]: Adjust margins // [tablet -]: Adjust margins
@include break-to-device(tablet) { @include break-to-device(tablet) {