styled image_popup

This commit is contained in:
Václav Šmejkal 2024-05-25 14:15:44 +02:00
parent cca63657ff
commit 65dca9d92e
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -290,4 +290,33 @@ body
max-height: 15vh; max-height: 15vh;
overflow-y: auto; overflow-y: auto;
padding-left: 1vw; padding-left: 1vw;
}
#image_popup
{
z-index: 9;
position: absolute;
padding: 1%;
max-height: 80%;
max-width: 80%;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
border: solid 1px #3E392F;
border-radius: 0.5vh 0.5vh;
background-color: #555;
display: flex;
justify-content: center;
}
#image_popup img
{
max-width: 100%;
max-height: 100%;
} }