MDL-63698 block_myoverview: Summary view course images eq height/width.
[moodle.git] / theme / boost / scss / moodle / blocks.scss
index 6494af8..a512c03 100644 (file)
@@ -108,11 +108,12 @@ $card-gutter : $card-deck-margin * 2;
             background-color: $gray-200;
         }
     }
-    @include media-breakpoint-down(sm) {
-        .summaryimage {
-            max-height: 7rem;
-        }
-    }
+}
+
+.summaryimage {
+    height: 7rem;
+    background-position: center;
+    background-size: cover;
 }
 
 .dashboard-card-deck .dashboard-card {