Skip to content

Commit 1665512

Browse files
committed
feat: break-point 수정
1 parent a145fa8 commit 1665512

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/shared/model/use-device.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState, useEffect } from "react";
22
const RESIZE_DEBOUNCE_MS = 100;
33
const screen = {
4-
mobile: 375,
4+
mobile: 425,
55
} as const;
66

77
const useDevice = () => {
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
import type { CSSProperties } from "react";
22

3-
export const screenBreakpoints = {
4-
mobile: "(max-width: 375px)",
5-
} as const;
6-
73
export const screen = {
84
mobile: (css: CSSProperties) => ({
95
"@media": {
10-
"(max-width: 375px)": css,
6+
"(max-width: 425px)": css,
117
},
128
}),
139
} as const;

0 commit comments

Comments
 (0)