Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 72bbd3b

Browse files
committed
fix(breakpoints): Removed screen and
1 parent cfb1bd7 commit 72bbd3b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/core/breakpoint.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
export const min_sm = '@media screen and (min-width: 640px)';
2-
export const min_md = '@media screen and (min-width: 768px)';
3-
export const min_lg = '@media screen and (min-width: 1024px)';
4-
export const min_xl = '@media screen and (min-width: 1280px)';
5-
export const min_2xl = '@media screen and (min-width: 1536px)';
1+
export const min_sm = '@media (min-width: 640px)';
2+
export const min_md = '@media (min-width: 768px)';
3+
export const min_lg = '@media (min-width: 1024px)';
4+
export const min_xl = '@media (min-width: 1280px)';
5+
export const min_2xl = '@media (min-width: 1536px)';
66

7-
export const max_sm = '@media screen and (max-width: 640px)';
8-
export const max_md = '@media screen and (max-width: 768px)';
9-
export const max_lg = '@media screen and (max-width: 1024px)';
10-
export const max_xl = '@media screen and (max-width: 1280px)';
11-
export const max_2xl = '@media screen and (max-width: 1536px)';
7+
export const max_sm = '@media (max-width: 640px)';
8+
export const max_md = '@media (max-width: 768px)';
9+
export const max_lg = '@media (max-width: 1024px)';
10+
export const max_xl = '@media (max-width: 1280px)';
11+
export const max_2xl = '@media (max-width: 1536px)';

0 commit comments

Comments
 (0)