mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed table of contents highlighting for active anchor links
This commit is contained in:
parent
82b0ea8b0e
commit
45aff3cfc5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.6ced434e.min.js",
|
"assets/javascripts/bundle.js": "assets/javascripts/bundle.15ed33ca.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.6ced434e.min.js.map",
|
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.15ed33ca.min.js.map",
|
||||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.08c56446.min.js",
|
"assets/javascripts/vendor.js": "assets/javascripts/vendor.08c56446.min.js",
|
||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.08c56446.min.js.map",
|
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.08c56446.min.js.map",
|
||||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.8c7e0a7e.min.js",
|
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.8c7e0a7e.min.js",
|
||||||
|
@ -185,7 +185,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/vendor.08c56446.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/vendor.08c56446.min.js' | url }}"></script>
|
||||||
<script src="{{ 'assets/javascripts/bundle.6ced434e.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.15ed33ca.min.js' | url }}"></script>
|
||||||
{%- set translations = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
"clipboard.copy",
|
"clipboard.copy",
|
||||||
|
@ -101,7 +101,7 @@ export function watchAnchorList(
|
|||||||
/* Compute necessary adjustment for header */
|
/* Compute necessary adjustment for header */
|
||||||
const adjust$ = header$
|
const adjust$ = header$
|
||||||
.pipe(
|
.pipe(
|
||||||
map(header => 18 + header.height)
|
map(header => 24 + header.height)
|
||||||
)
|
)
|
||||||
|
|
||||||
/* Compute partition of previous and next anchors */
|
/* Compute partition of previous and next anchors */
|
||||||
|
Loading…
Reference in New Issue
Block a user