allow to define aspect ratio

This commit is contained in:
mxmehl committed 2024-02-05 15:33:43 +01:00
1 parent 8217f0a6d8
commit e322408202
5 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ $gap: var(--gap);
min-width: var(--min-width);
img {
aspect-ratio: 16/10;
aspect-ratio: var(--aspectratio);
width: 100%;
object-fit: cover;
}