MDL-68889 block_recentlyaccessedcourses: small viewport issues
[moodle.git] / theme / boost / scss / moodle / blocks.scss
index 8ca7510..235b190 100644 (file)
@@ -170,10 +170,12 @@ $card-gutter : $card-deck-margin * 2;
             padding: 0.8rem;
         }
     }
-
-    &.fixed-width-cards {
-        .dashboard-card {
-            width: 300px;
+    @include media-breakpoint-up(sm) {
+        &.fixed-width-cards {
+            .dashboard-card {
+                width: 300px;
+                max-width: 100%;
+            }
         }
     }
 }