use variable named breakpoints
This commit is contained in:
@@ -52,13 +52,16 @@ $yiq-contrasted-threshold: 120;
|
||||
$grid-breakpoints: (
|
||||
xs: 0,
|
||||
sm: 576px,
|
||||
tb: 768px,
|
||||
tb: 769px,
|
||||
md: 1024px,
|
||||
lg: 1200px,
|
||||
xl: 1440px,
|
||||
);
|
||||
|
||||
$layout-bp: md;
|
||||
$layout-bp-down: tb;
|
||||
$size-bp: tb;
|
||||
$size-bp-down: sm;
|
||||
|
||||
// Body
|
||||
$body-bg: #fffcfb;
|
||||
|
||||
@@ -18,7 +18,7 @@ a:hover {
|
||||
padding: .25rem $header-spacer-sm;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
@include media-breakpoint-up($layout-bp) {
|
||||
margin-left: -#{$header-spacer};
|
||||
|
||||
.dropdown-item {
|
||||
|
||||
Reference in New Issue
Block a user