fix: slide flickering

This commit is contained in:
ner committed 2024-11-07 17:00:45 +02:00
1 parent af942149af
commit 418ab2cf15
4 files changed
+27 -42

No files matched your search

+3 -11
View File
@@ -136,17 +136,9 @@
height: 450px;
flex-shrink: 0;
@media screen and (max-width: 600px) {
width: 100%;
height: 100%;
aspect-ratio: 2/3;
}
}
@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
.card-aspect-ratio {
@media screen and (max-width: 600px) {
aspect-ratio: 1.35/2;
}
--width: calc(100vw - 1rem);
width: var(--width);
height: calc(var(--width) * 3 / 2);
}
}
}