mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed back-to-top button being clickable when hidden
This commit is contained in:
parent
e72af03cd1
commit
a9b9faa3aa
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -39,7 +39,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.78f4c236.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.962e687c.min.css' | url }}">
|
||||||
{% if config.theme.palette %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ef6f36e2.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ef6f36e2.min.css' | url }}">
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
&[data-md-state="hidden"] {
|
&[data-md-state="hidden"] {
|
||||||
transform: translateY(px2rem(-4px));
|
transform: translateY(px2rem(-4px));
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Back-to-top button on focus/hover
|
// Back-to-top button on focus/hover
|
||||||
|
Loading…
Reference in New Issue
Block a user