Skip to content

Commit e781dfd

Browse files
committed
feat: add xxl breakpoint
1 parent 2830923 commit e781dfd

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

js/src/sidebar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ const Default = {
3636
sm: 'c-sidebar-sm-show',
3737
md: 'c-sidebar-md-show',
3838
lg: 'c-sidebar-lg-show',
39-
xl: 'c-sidebar-xl-show'
39+
xl: 'c-sidebar-xl-show',
40+
xxl: 'c-sidebar-xxl-show'
4041
},
4142
dropdownAccordion: true
4243
}

scss/variables/_grid.scss

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
// adapting to different screen sizes, for use in media queries.
77

88
$grid-breakpoints: (
9-
xs: 0,
10-
sm: 576px,
11-
md: 768px,
12-
lg: 992px,
13-
xl: 1200px
9+
xs: 0,
10+
sm: 576px,
11+
md: 768px,
12+
lg: 992px,
13+
xl: 1200px,
14+
xxl: 1400px
1415
) !default;
1516

1617
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
@@ -22,10 +23,11 @@ $grid-breakpoints: (
2223
// Define the maximum width of `.container` for different screen sizes.
2324

2425
$container-max-widths: (
25-
sm: 540px,
26-
md: 720px,
27-
lg: 960px,
28-
xl: 1140px
26+
sm: 540px,
27+
md: 720px,
28+
lg: 960px,
29+
xl: 1140px,
30+
xxl: 1320px
2931
) !default;
3032

3133
@include _assert-ascending($container-max-widths, "$container-max-widths");

0 commit comments

Comments
 (0)