From 8897b07af94b49ed1aa8b7cd746c8209427caa5a Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Wed, 23 Dec 2015 10:46:20 -0600 Subject: [PATCH] fix navbar mdb-form-group variation --- scss/_forms.scss | 8 +++++--- scss/_navbar.scss | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scss/_forms.scss b/scss/_forms.scss index cc95f743..cef36553 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -5,10 +5,14 @@ form { // reverse the above for navbars (no help expected in a navbar form) .navbar & { margin: 0; + + .mdb-form-group { + display: inline-block; + padding-top: 0; + } } } - // ----- // Inputs // @@ -139,7 +143,6 @@ form { } } - // FIXME: remove the following, I don't think it is necessary any longer and just adds more rules that are already matched above. // default floating size/location without a form-group (will skip form-group styles, and just render default sizing variation) //@include mdb-form-size-variant($font-size-base, $mdb-label-top-margin-base, $input-padding-y, $line-height, $mdb-label-as-placeholder-shim-base); @@ -166,7 +169,6 @@ select { // z-index: 100; //} - // // //.form-horizontal { diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 5ba05dbd..a1b4726c 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -2,6 +2,7 @@ border: 0; border-radius: 0; + //.navbar-brand { // position: relative; // height: 60px;