tweak z-index of images
This commit is contained in:
parent
07966d077f
commit
3cc26cb85d
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue