Skip to content

Commit dd344a9

Browse files
committed
fix: wrong overflow on horizontal scroll
1 parent 61c772c commit dd344a9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/common-enums/src/styles.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
* @mq
44
*/
55
export enum eMQ {
6+
TV = "(max-width: 1280px)",
67
LAPTOP = "(max-width: 1080px)",
78
TABLET = "(max-width: 768px)",
89
MOBILE = "(max-width: 576px)",
10+
SMARTWATCH = "(max-width: 358px)",
911
}
1012

1113
/**

packages/styles/src/layouts/_scroll.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
&:not(.#{utils.$prefix-default}--always) {
8383
max-width: min(100%, 100vw);
8484
height: auto;
85-
overflow: hidden auto;
85+
overflow: auto hidden;
8686
padding-right: 0;
8787

8888
> * {

0 commit comments

Comments
 (0)