mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-02 10:48:49 -04:00
Scope all internal HTML id tags to avoid name clashes
* Fix ids not being unique enough in templates * Revert disqus id change
This commit is contained in:
committed by
Martin Donath
parent
2fbeb28d9d
commit
a42fdb33ed
@@ -185,12 +185,12 @@
|
||||
drawer on back button invocation in some browsers
|
||||
-->
|
||||
<input class="md-toggle" data-md-toggle="drawer"
|
||||
type="checkbox" id="drawer" autocomplete="off" />
|
||||
type="checkbox" id="__drawer" autocomplete="off" />
|
||||
<input class="md-toggle" data-md-toggle="search"
|
||||
type="checkbox" id="search" autocomplete="off" />
|
||||
type="checkbox" id="__search" autocomplete="off" />
|
||||
|
||||
<!-- Overlay for expanded drawer -->
|
||||
<label class="md-overlay" data-md-component="overlay" for="drawer"></label>
|
||||
<label class="md-overlay" data-md-component="overlay" for="__drawer"></label>
|
||||
|
||||
<!-- Render "skip to content" link -->
|
||||
{% if page.toc | first is defined %}
|
||||
|
||||
Reference in New Issue
Block a user