mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Fixed uninitialized overflow scrolling on main pane for iOS
This commit is contained in:
parent
3f80ada54d
commit
aff623aaac
@ -1,3 +1,7 @@
|
||||
mkdocs-material-1.9.1 (2017-XX-XX)
|
||||
|
||||
* Fixed uninitialized overflow scrolling on main pane for iOS
|
||||
|
||||
mkdocs-material-1.9.0 (2017-08-29)
|
||||
|
||||
* Added info (synonym: todo) style for Admonition
|
||||
|
File diff suppressed because one or more lines are too long
@ -150,7 +150,7 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ base_url }}/assets/javascripts/application-3700c4cc12.js"></script>
|
||||
<script src="{{ base_url }}/assets/javascripts/application-f3ab9e5ff8.js"></script>
|
||||
{% set languages = lang.t("search.languages").split(",") %}
|
||||
{% if languages | length and languages[0] != "" %}
|
||||
{% set path = base_url + "/assets/javascripts/lunr" %}
|
||||
|
@ -50,7 +50,8 @@ export default class Scrolling {
|
||||
setup() {
|
||||
|
||||
/* Initially set overflow scrolling on main pane */
|
||||
this.el_.children[1].style.webkitOverflowScrolling = "touch"
|
||||
const main = this.el_.children[this.el_.children.length - 1]
|
||||
main.style.webkitOverflowScrolling = "touch"
|
||||
|
||||
/* Find all toggles and check which one is active */
|
||||
const toggles = this.el_.querySelectorAll("[data-md-toggle]")
|
||||
|
Loading…
Reference in New Issue
Block a user