fix magnified dimentions
This commit is contained in:
parent
4e34ce03df
commit
11a15855bc
1 changed files with 5 additions and 1 deletions
|
|
@ -12,6 +12,7 @@
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
fullscreen-overlay {
|
fullscreen-overlay {
|
||||||
|
|
@ -30,7 +31,10 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 95dvw;
|
||||||
|
height: 95dvh;
|
||||||
|
max-width: 95dvw;
|
||||||
|
max-height: 95dvh;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue