Body padding-top use BS' SCSS variable
This commit is contained in:
parent
bd707c0d12
commit
95c3d9694b
3 changed files with 5 additions and 3 deletions
|
|
@ -358,7 +358,7 @@ $grid-float-breakpoint: 992px !default; // $screen-md-min
|
|||
//##
|
||||
|
||||
// Basics of a navbar
|
||||
// $navbar-height: 50px
|
||||
$navbar-height: 50px;
|
||||
// $navbar-margin-bottom: $line-height-computed
|
||||
// $navbar-border-radius: $border-radius-base
|
||||
// $navbar-padding-horizontal: floor(($grid-gutter-width / 2))
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
@import "bootstrap-variables";
|
||||
|
||||
body {
|
||||
margin-top: 50px;
|
||||
margin-top: $navbar-height;
|
||||
background-color: white;
|
||||
background-image : none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
body {
|
||||
margin-top: 50px;
|
||||
margin-top: $navbar-height;
|
||||
padding : none;
|
||||
|
||||
&.lock {
|
||||
|
|
|
|||
Loading…
Reference in a new issue