mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed too unspecific selector for table of contents blur on scroll
This commit is contained in:
parent
96b9a321e6
commit
a182314a15
@ -2,6 +2,7 @@ mkdocs-material-3.x.x (2019-xx-xx)
|
||||
|
||||
* Moved Google Analytics integration into `head` using Google Tag Manager
|
||||
* Fixed #972: Unicode slugifier breaks table of contents blur on scroll
|
||||
* Fixed #974: Additional links in table of contents break blur on scroll
|
||||
|
||||
mkdocs-material-3.2.0 (2018-12-28)
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -190,7 +190,7 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/application.ff6f93ee.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/application.6460bce7.js' | url }}"></script>
|
||||
{% if lang.t("search.language") != "en" %}
|
||||
{% set languages = lang.t("search.language").split(",") %}
|
||||
{% if languages | length and languages[0] != "" %}
|
||||
|
@ -259,7 +259,7 @@ function initialize(config) { // eslint-disable-line func-style
|
||||
/* Component: link blurring for table of contents */
|
||||
new Material.Event.MatchMedia("(min-width: 960px)",
|
||||
new Material.Event.Listener(window, "scroll",
|
||||
new Material.Nav.Blur("[data-md-component=toc] [href]")))
|
||||
new Material.Nav.Blur("[data-md-component=toc] .md-nav__link")))
|
||||
|
||||
/* Component: collapsible elements for navigation */
|
||||
const collapsibles =
|
||||
|
Loading…
Reference in New Issue
Block a user