Fixed overflowing sidebar

This commit is contained in:
squidfunk 2017-04-22 00:34:48 +02:00 committed by Martin Donath
parent fab1ab54d6
commit 8ac6712dc3
4 changed files with 7 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

@ -38,7 +38,7 @@
<script src="{{ base_url }}/assets/javascripts/modernizr-56ade86843.js"></script> <script src="{{ base_url }}/assets/javascripts/modernizr-56ade86843.js"></script>
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-c5315243ec.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-3d8b235f56.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-f78e5cb881.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-f78e5cb881.palette.css">
{% endif %} {% endif %}

View File

@ -39,11 +39,13 @@
// Define spacing // Define spacing
&__inner { &__inner {
margin: 2.4rem 1.6rem; margin: 0 1.6rem 2.4rem;
padding-top: 2.4rem;
// [screen +]: Increase spacing // [screen +]: Increase horizontal spacing
@include break-from-device(screen) { @include break-from-device(screen) {
margin: 2.4rem; margin-right: 2.4rem;
margin-left: 2.4rem;
} }
// Hack: add pseudo element for spacing, as the overflow of the content // Hack: add pseudo element for spacing, as the overflow of the content