Fixed back-to-top button being clickable when hidden

This commit is contained in:
squidfunk 2021-04-15 21:04:42 +02:00
parent e72af03cd1
commit a9b9faa3aa
4 changed files with 2 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -39,7 +39,7 @@
{% endif %}
{% endblock %}
{% 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 %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ef6f36e2.min.css' | url }}">

View File

@ -54,6 +54,7 @@
&[data-md-state="hidden"] {
transform: translateY(px2rem(-4px));
opacity: 0;
pointer-events: none;
}
// Back-to-top button on focus/hover