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
|
* Moved Google Analytics integration into `head` using Google Tag Manager
|
||||||
* Fixed #972: Unicode slugifier breaks table of contents blur on scroll
|
* 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)
|
mkdocs-material-3.2.0 (2018-12-28)
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -190,7 +190,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% block scripts %}
|
{% 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" %}
|
{% if lang.t("search.language") != "en" %}
|
||||||
{% set languages = lang.t("search.language").split(",") %}
|
{% set languages = lang.t("search.language").split(",") %}
|
||||||
{% if languages | length and languages[0] != "" %}
|
{% 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 */
|
/* Component: link blurring for table of contents */
|
||||||
new Material.Event.MatchMedia("(min-width: 960px)",
|
new Material.Event.MatchMedia("(min-width: 960px)",
|
||||||
new Material.Event.Listener(window, "scroll",
|
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 */
|
/* Component: collapsible elements for navigation */
|
||||||
const collapsibles =
|
const collapsibles =
|
||||||
|
Loading…
Reference in New Issue
Block a user