mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Replaced selector list in :not() with two compound selectors (FF 78 regression)
This commit is contained in:
parent
dee2ba51bc
commit
dea3ad86ce
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -213,7 +213,7 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.17f42bbf.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.da79ceb7.min.js' | url }}"></script>
|
||||
{% for path in config["extra_javascript"] %}
|
||||
<script src="{{ path | url }}"></script>
|
||||
{% endfor %}
|
||||
|
@ -174,8 +174,8 @@ export function mountCodeBlock(
|
||||
|
||||
/* Handle code annotations */
|
||||
const container = el.closest([
|
||||
":not(td.code) > .highlight", /* Code blocks */
|
||||
".highlighttable" /* Code blocks with line numbers */
|
||||
":not(td):not(.code) > .highlight",
|
||||
".highlighttable"
|
||||
].join(", "))
|
||||
if (container instanceof HTMLElement) {
|
||||
const list = findCandidateList(container)
|
||||
|
Loading…
Reference in New Issue
Block a user