We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a145fa8 commit 1665512Copy full SHA for 1665512
2 files changed
src/shared/model/use-device.ts
@@ -1,7 +1,7 @@
1
import { useState, useEffect } from "react";
2
const RESIZE_DEBOUNCE_MS = 100;
3
const screen = {
4
- mobile: 375,
+ mobile: 425,
5
} as const;
6
7
const useDevice = () => {
src/shared/styles/tokens/screen.css.ts
@@ -1,13 +1,9 @@
import type { CSSProperties } from "react";
-export const screenBreakpoints = {
- mobile: "(max-width: 375px)",
-} as const;
-
export const screen = {
8
mobile: (css: CSSProperties) => ({
9
"@media": {
10
- "(max-width: 375px)": css,
+ "(max-width: 425px)": css,
11
},
12
}),
13
0 commit comments