From 6bae9ef7866e0bf037229bb369e07d6aeabd934c Mon Sep 17 00:00:00 2001 From: ysds <fellows3@gmail.com> Date: Sun, 21 Oct 2018 16:56:53 +0900 Subject: [PATCH] Example dashboard: Responsive padding-top of the main content (#26332) --- site/docs/4.1/examples/dashboard/dashboard.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 */ + } } /* -- GitLab