Merge pull request #105 from squidfunk/fix/only-show-scrollbars-on-overflow

Set overflow property to auto
This commit is contained in:
Martin Donath 2017-01-14 19:50:55 +01:00 committed by GitHub
commit 5257fe67a6
6 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-e081c8cda4.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-9ac46de2fd.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
{% endif %} {% endif %}

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

@ -109,7 +109,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) {