You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/pages/components/Breakpoint.svx
+14-9Lines changed: 14 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,27 @@
1
1
2
2
<script>
3
3
import {
4
-
UnorderedList, ListItem
4
+
Stack,
5
+
UnorderedList,
6
+
ListItem,
5
7
} from "carbon-components-svelte";
6
8
import Preview from "../../components/Preview.svelte";
7
9
</script>
8
10
9
11
The Carbon Design System [grid implementation](https://carbondesignsystem.com/guidelines/2x-grid/implementation#responsive-options) defines five responsive breakpoints:
<ListItem><strong>Max</strong>: greater than 1584px</ListItem>
20
+
</UnorderedList>
21
+
<div>
19
22
This utility component uses the [Window.matchMedia API](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia) to declaratively determine the current Carbon breakpoint size.
0 commit comments