_sass/addon/commons.scss in jekyll-theme-chirpy-6.2.3 vs _sass/addon/commons.scss in jekyll-theme-chirpy-6.3.0
- old
+ new
@@ -307,11 +307,10 @@
/* --- post --- */
.preview-img {
aspect-ratio: 40 / 21;
width: 100%;
- height: 100%;
overflow: hidden;
@extend %rounded;
&:not(.no-bg) {
@@ -322,9 +321,13 @@
height: 100%;
-o-object-fit: cover;
object-fit: cover;
@extend %rounded;
+
+ @at-root #post-list & {
+ width: 100%;
+ }
}
}
.post-preview {
@extend %rounded;