]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Example dashboard: Responsive padding-top of the main content (#26332)
authorysds <fellows3@gmail.com>
Sun, 21 Oct 2018 07:56:53 +0000 (16:56 +0900)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 21 Oct 2018 07:56:53 +0000 (10:56 +0300)
site/docs/4.1/examples/dashboard/dashboard.css

index eb3bb8540950a82401f44f99d75a46f34928555c..6b5d7b5a5a81f03ea43026c20bc5c65c38b248fa 100644 (file)
@@ -67,7 +67,13 @@ body {
  */
 
 [role="main"] {
-  padding-top: 48px; /* Space for fixed navbar */
+  padding-top: 133px; /* Space for fixed navbar */
+}
+
+@media (min-width: 768px) {
+  [role="main"] {
+    padding-top: 48px; /* Space for fixed navbar */
+  }
 }
 
 /*