fix: align MQ breakpoints and always use editor dimensions (#9991)

* fix: align MQ breakpoints and always use editor dimensions

* naming

* update snapshots
This commit is contained in:
David Luzar
2025-09-17 09:57:10 +02:00
committed by GitHub
parent ac0d3059dc
commit a6a32b9b29
3 changed files with 10 additions and 17 deletions

View File

@@ -347,15 +347,12 @@ export const DEFAULT_UI_OPTIONS: AppProps["UIOptions"] = {
// breakpoints
// -----------------------------------------------------------------------------
// md screen
export const MQ_MAX_WIDTH_LANDSCAPE = 1000;
export const MQ_MAX_HEIGHT_LANDSCAPE = 500;
// mobile: up to 699px
export const MQ_MAX_WIDTH_MOBILE = 699;
export const MQ_MAX_MOBILE = 599;
// tablets
export const MQ_MIN_TABLET = 600; // lower bound (excludes phones)
export const MQ_MIN_TABLET = MQ_MAX_MOBILE + 1; // lower bound (excludes phones)
export const MQ_MAX_TABLET = 1400; // upper bound (excludes laptops/desktops)
// desktop/laptop