fix modal image screen overflow
This commit is contained in:
parent
fe0c3c6644
commit
45942d113b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user