Initial commit

Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com>
Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com>
Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com>
Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
This commit is contained in:
Eric Tuvesson
2023-09-05 12:08:55 +02:00
commit 53f0d6320e
2704 changed files with 76354 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
title: Media Query Setup
hide_title: true
---
# Media Query Setup
This component sets up all media queries for your app. It should be placed in you home component. Your project should only include one **Media Query Setup** node.
<div className="ndl-image-with-background xl">
![](/library/prefabs/media-query/media-query-setup.png)
</div>
## Changing the breakpoints
This component comes with a prediefined set of commonly used breakpoints:
- **Small Mobile**: 400px and smaller
- **Regular Mobile**: 401px to 700px
- **Tablet**: 701px to 1200px
- **Regular Desktop**: 1201px to 1800px
- **Large Desktop**: 1801px and above
If you want to change the recommended defaults, this can be done at the top of the **Register media queries** Script node.