1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-18 02:15:56 +01:00

Fixed vertical scrollbar on some MathJax formulas

This commit is contained in:
squidfunk 2017-10-11 19:21:25 +02:00 committed by Martin Donath
parent 0ff0b46c7a
commit 85a8b1041b
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@
<script src="{{ base_url }}/assets/javascripts/modernizr-e826f8942a.js"></script> <script src="{{ base_url }}/assets/javascripts/modernizr-e826f8942a.js"></script>
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-1fd0ca4de2.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-9011e2d3f8.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-23f75ab9c7.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-23f75ab9c7.palette.css">
{% endif %} {% endif %}

View File

@ -32,7 +32,7 @@
// MathJax integration - add padding to omit vertical scrollbar // MathJax integration - add padding to omit vertical scrollbar
.MJXc-display { .MJXc-display {
margin: 0.75em 0; margin: 0.75em 0;
padding: 0.25em 0; padding: 0.75em 0;
overflow: auto; overflow: auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
} }