From: ysds Date: Sun, 21 Oct 2018 07:56:53 +0000 (+0900) Subject: Example dashboard: Responsive padding-top of the main content (#26332) X-Git-Tag: v4.2.0~209 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6bae9ef7866e0bf037229bb369e07d6aeabd934c;p=thirdparty%2Fbootstrap.git Example dashboard: Responsive padding-top of the main content (#26332) --- diff --git a/site/docs/4.1/examples/dashboard/dashboard.css b/site/docs/4.1/examples/dashboard/dashboard.css index eb3bb85409..6b5d7b5a5a 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 */ + } } /*