mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed overlay of back-to-top button and header
This commit is contained in:
parent
2bcc7f3c9d
commit
3649fdac42
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.3d0eea20.min.css.map
Normal file
1
material/assets/stylesheets/main.3d0eea20.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -39,7 +39,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.1ff57afd.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.3d0eea20.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.f1a3b89f.min.css' | url }}">
|
||||
@ -178,7 +178,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% if "navigation.top" in features %}
|
||||
<a href="#" class="md-top md-icon" title="{{ lang.t('top.title') }}" data-md-component="top" data-md-state="hidden">
|
||||
<a href="#" class="md-top md-icon" data-md-component="top" data-md-state="hidden">
|
||||
{% include ".icons/material/arrow-up.svg" %}
|
||||
{{ lang.t('top.title') }}
|
||||
</a>
|
||||
|
@ -52,8 +52,9 @@
|
||||
|
||||
// Back-to-top button in hidden state
|
||||
&[data-md-state="hidden"] {
|
||||
transform: translate(-50%, px2rem(+4px));
|
||||
transform: translate(-50%, px2rem(4px));
|
||||
opacity: 0;
|
||||
transition-duration: 0ms;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
@ -339,7 +339,6 @@
|
||||
<a
|
||||
href="#"
|
||||
class="md-top md-icon"
|
||||
title="{{ lang.t('top.title') }}"
|
||||
data-md-component="top"
|
||||
data-md-state="hidden"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user