Skip to content

Commit

Permalink
fix(docs):  fix warning Invalid value for $grid-breakpoints.. (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
tibing-old-email authored and nnixaa committed Sep 20, 2018
1 parent be06906 commit 23e7804
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/app/@theme/styles/themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@
@import '../../../../src/framework/theme/styles/themes/default';
@import '../../../../src/framework/theme/styles/global/breakpoints';

$grid-breakpoints: map-merge($grid-breakpoints, (macpro: 1280px));
/*
We have to overwrite breakpoints because we need to add *macpro* breakpoint.
But if we add it using *map-merge* function we'll get the warning and *media-breakpoint-down* will stop working.
*/
$grid-breakpoints: (
xs: 0,
is: 400px,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
macpro: 1280px,
xxl: 1400px,
xxxl: 1600px
);

$nb-enabled-themes: (docs-home, docs-page);

Expand Down

0 comments on commit 23e7804

Please sign in to comment.