tweak z-index of images

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2026-07-24 18:16:39 +02:00
parent 07966d077f
commit 3cc26cb85d
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

@ -23,6 +23,7 @@
right: 0; right: 0;
left: 0; left: 0;
position: fixed; position: fixed;
z-index: 2;
background: var(--color-bg-overlay); background: var(--color-bg-overlay);
@ -31,6 +32,7 @@
flex-direction: column; flex-direction: column;
img { img {
position: fixed;
width: 95dvw; width: 95dvw;
height: 95dvh; height: 95dvh;
max-width: 95dvw; max-width: 95dvw;
@ -54,6 +56,7 @@
image-alt-group { image-alt-group {
position: relative; position: relative;
z-index: 1;
display: inline-block; display: inline-block;
.alt-text { .alt-text {
@ -65,7 +68,7 @@
top: 0; top: 0;
border-radius: 6px; border-radius: 6px;
position: absolute; position: absolute;
z-index: 1; z-index: 3;
transition: opacity 250ms ease-in, visibility 0ms ease-in 250ms; transition: opacity 250ms ease-in, visibility 0ms ease-in 250ms;