Merge branch 'MDL-68828-master' of git://github.com/bmbrands/moodle
authorAdrian Greeve <abgreeve@gmail.com>
Tue, 2 Jun 2020 01:36:37 +0000 (09:36 +0800)
committerAdrian Greeve <abgreeve@gmail.com>
Tue, 2 Jun 2020 01:36:37 +0000 (09:36 +0800)
1  2 
theme/classic/scss/classic/post.scss
theme/classic/style/moodle.css

      @include page_layout(20%);
  }
  
- .block_myoverview,
- .block_recentlyaccesseditems {
-     .dashboard-card-deck {
-         .dashboard-card {
-             width: calc(33.33% - #{$card-gutter});
 +@media print {
 +    #page-content .region-main, {
 +        max-width: 100% !important; /* stylelint-disable-line declaration-no-important */
 +        flex: 0 0 100% !important; /* stylelint-disable-line declaration-no-important */
 +        padding: 0 1rem 0 !important; /* stylelint-disable-line declaration-no-important */
 +    }
 +}
 +
+ @include media-breakpoint-up(sm) {
+     .block_myoverview,
+     .block_recentlyaccesseditems {
+         .dashboard-card-deck {
+             .dashboard-card {
+                 width: calc(33.33% - #{$card-gutter});
+             }
          }
      }
  }
@@@ -19587,18 -19213,10 +19588,19 @@@ body 
      padding: 0 1rem;
      max-width: 20%; } }
  
- .block_myoverview .dashboard-card-deck .dashboard-card,
- .block_recentlyaccesseditems .dashboard-card-deck .dashboard-card {
-   width: calc(33.33% - 0.5rem); }
 +@media print {
 +  #page-content .region-main {
 +    max-width: 100% !important;
 +    /* stylelint-disable-line declaration-no-important */
 +    flex: 0 0 100% !important;
 +    /* stylelint-disable-line declaration-no-important */
 +    padding: 0 1rem 0 !important;
 +    /* stylelint-disable-line declaration-no-important */ } }
 +
+ @media (min-width: 576px) {
+   .block_myoverview .dashboard-card-deck .dashboard-card,
+   .block_recentlyaccesseditems .dashboard-card-deck .dashboard-card {
+     width: calc(33.33% - 0.5rem); } }
  
  @media (min-width: 768px) {
    .blockcolumn .dashboard-card-deck {