💄(frontend) introduce a new breaking point

Needed a trade off between xs and sm breaking points.
Introduce xsm, I am not very satisfied with this naming.
We might refactor xs in xss. Not urgent.
This commit is contained in:
lebaudantoine
2024-11-17 15:45:17 +01:00
committed by aleb_the_flash
parent 061f12e7e2
commit adb09410da

View File

@@ -40,6 +40,7 @@ const config: Config = {
// media queries are defined in em so that zooming with text-only mode triggers breakpoints
breakpoints: {
xs: '22.6em', // 360px (we assume less than that are old/entry level mobile phones)
xsm: '31.25em', // 500px,
sm: '40em', // 640px
md: '48em', // 768px
lg: '64em', // 1024px