aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorysds <[email protected]>2018-10-21 16:56:53 +0900
committerXhmikosR <[email protected]>2018-10-21 10:56:53 +0300
commit6bae9ef7866e0bf037229bb369e07d6aeabd934c (patch)
tree5eb6ec6cc5cf58074bf2d87d6797416c1b0701b9
parent49ca910667add99849f68a30b6330bf76a2d6bbe (diff)
downloadbootstrap-6bae9ef7866e0bf037229bb369e07d6aeabd934c.tar.xz
bootstrap-6bae9ef7866e0bf037229bb369e07d6aeabd934c.zip
Example dashboard: Responsive padding-top of the main content (#26332)
-rw-r--r--site/docs/4.1/examples/dashboard/dashboard.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/site/docs/4.1/examples/dashboard/dashboard.css b/site/docs/4.1/examples/dashboard/dashboard.css
index eb3bb8540..6b5d7b5a5 100644
--- a/site/docs/4.1/examples/dashboard/dashboard.css
+++ b/site/docs/4.1/examples/dashboard/dashboard.css
@@ -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 */
+ }
}
/*