_sass/_grid.scss in askclass-news-theme-0.4.2 vs _sass/_grid.scss in askclass-news-theme-0.4.3
- old
+ new
@@ -1,14 +1,14 @@
-$width: 180px;
-$height: 180px;
+$size-width: 180px;
+$size-height: 180px;
ul.grid {
list-style-type: none;
padding-inline-start: unset;
display: grid;
grid-gap: 1rem;
- grid-template-columns: repeat(auto-fit, minmax($width, 1fr));
+ grid-template-columns: repeat(auto-fit, minmax($size-width, 1fr));
clear: both;
li {
position: relative;
text-align: center;
@@ -17,8 +17,8 @@
}
}
img {
object-fit: cover;
width: 100%;
- height: $height;
+ height: $size-height;
}
}