fix modal image screen overflow

This commit is contained in:
Alexander Bocken 2023-07-13 18:57:29 +02:00
parent fe0c3c6644
commit 45942d113b
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -133,7 +133,7 @@ dialog{
}
dialog img{
max-width: calc(95vmin - 2rem);
max-height: calc(95vmin- 2rem);
max-height: 95vmin; /* cannot use calc() for some reason */
}
dialog[open]::backdrop{
animation: show 200ms ease forwards;