From 6b1b88e8488d91e4fdde55c382c3e79b3e9fdefa Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Thu, 21 Jan 2016 14:10:52 -0600 Subject: [PATCH] adjust header height now that we are using a flex navbar --- docs/examples/dashboard/example.scss | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/docs/examples/dashboard/example.scss b/docs/examples/dashboard/example.scss index 92335b4c..9923231b 100644 --- a/docs/examples/dashboard/example.scss +++ b/docs/examples/dashboard/example.scss @@ -24,17 +24,12 @@ a, a:hover { color: $grey-600; > .navbar { - // .navbar is not flex based by default, so have to vertical align with padding. - // If this were my own app, I would flex position items in my navbar and stick .mdb-layout-header on my existing .navbar - // instead of wrapping it. But nonetheless, this example shows how this can work with minimal markup to match an MDL design. - $header-height: 3.5rem !default; // 56px - $line-height: 1.5; - min-height: $header-height; + @media (min-width: 992px) { // media-breakpoint-up(lg) + min-height: 4rem; + } - $padding: ($header-height - (1rem * $line-height)) / 2; - padding-top: $padding; - padding-bottom: $padding; + min-height: 3.5rem; // 56px } }