1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-09-24 19:38:27 +02:00

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>
{% endblock %}
{% 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 %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-f78e5cb881.palette.css">
{% endif %}

View File

@ -39,11 +39,13 @@
// Define spacing
&__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) {
margin: 2.4rem;
margin-right: 2.4rem;
margin-left: 2.4rem;
}
// Hack: add pseudo element for spacing, as the overflow of the content