Added iOS overflow scrolling to MathJax integration

This commit is contained in:
squidfunk 2017-01-05 08:37:54 +01:00
parent 45208dea73
commit 33c183754c
3 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@
{% include "partials/fonts.html" %} {% include "partials/fonts.html" %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-6b630276ef.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-868145bb77.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
{% endif %} {% endif %}

View File

@ -34,6 +34,7 @@
margin: 0.75em 0; margin: 0.75em 0;
padding: 0.25em 0; padding: 0.25em 0;
overflow: auto; overflow: auto;
-webkit-overflow-scrolling: touch;
} }
// Stretch top-level containers // Stretch top-level containers