fix: poster aspect ratio
This commit is contained in:
1 parent
6098de1e5c
commit
a2c5ba5184
3 files changed
+10
-3
No files matched your search
@@ -135,6 +135,13 @@
|
||||
width: 300px;
|
||||
height: 450px;
|
||||
flex-shrink: 0;
|
||||
@media screen and (max-width: 600px) {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
aspect-ratio: 2/3;
|
||||
}
|
||||
}
|
||||
.static-aspect-ratio {
|
||||
@media screen and (max-width: 600px) {
|
||||
--width: calc(100vw - 1rem);
|
||||
width: var(--width);
|
||||
|
||||
Reference in new issue
Block a user