fix: poster aspect ratio

This commit is contained in:
ner committed 2024-11-07 17:27:20 +02:00
1 parent 6098de1e5c
commit a2c5ba5184
3 files changed
+10 -3

No files matched your search

+7
View File
@@ -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);