размер картинок задан при помощи соотношения 4/5

This commit is contained in:
xomimishka committed 2025-05-13 22:41:17 +03:00
1 parent 8d07731c8a
commit 8c74e07ef2
1 file changed
+4 -7
+4 -7
View File
@@ -53,15 +53,12 @@ $btn-primary-bg: linear-gradient(
img {
width: 100%;
height: 360px;
border-radius: 8px;
object-position: top;
aspect-ratio: 4 / 5;
object-fit: cover;
object-position: top;
border-radius: 8px;
pointer-events: none;
@media (max-width: 768px) {
height: 460px;
}
display: block;
}
.caption {