Merge branch 'MDL-42111' of git://github.com/rwijaya/moodle
[moodle.git] / theme / bootstrapbase / less / moodle / responsive.less
index 63be65d..f09c2c5 100644 (file)
     margin-left: 0;
     .box-sizing(border-box);
   }
+
+  // We need to specify a more specific selector to reset the width for
+  // cases when we have content in the side-pre blockregion but not in the
+  // side-post blockregion as there are more specific selectors in
+  // core.less which take precedence which break responsiveness.
+  .empty-region-side-post.used-region-side-pre {
+      #block-region-side-pre.span4,
+      #region-main.span8.span8 {
+        .fluid-span(12);
+      }
+  }
+
   .row-fluid .span12 {
     width: 100%;
     .box-sizing(border-box);
             margin: 0 0 1em 0;
         }
     }
-}
\ No newline at end of file
+}