Fixed back-to-top button overlaying active search bar

This commit is contained in:
squidfunk 2021-07-24 11:11:29 +02:00
parent f151f71eea
commit b740dbc975
6 changed files with 8 additions and 8 deletions

View File

@ -39,7 +39,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.fe914879.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.1118c9be.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ba0d045b.min.css' | url }}">

View File

@ -32,7 +32,7 @@
right: px2rem(16px);
bottom: px2rem(16px);
left: initial;
z-index: 2;
z-index: 3;
min-width: px2rem(222px);
padding: px2rem(8px) px2rem(12px);
background-color: var(--md-default-fg-color);

View File

@ -31,7 +31,7 @@
top: 0;
right: 0;
left: 0;
z-index: 2;
z-index: 3;
color: var(--md-primary-bg-color);
background-color: var(--md-primary-fg-color);
// Hack: reduce jitter by adding a transparent box shadow of the same size

View File

@ -46,7 +46,7 @@
position: fixed;
top: 0;
left: px2rem(-242px);
z-index: 3;
z-index: 4;
display: block;
width: px2rem(242px);
height: 100%;
@ -167,7 +167,7 @@
.md-overlay {
position: fixed;
top: 0;
z-index: 3;
z-index: 4;
width: 0;
height: 0;
background-color: hsla(0, 0%, 0%, 0.54);