Skip to content

Commit e9c2626

Browse files
committed
[ticket] style: 모바일 스크롤 성능 최적화 및 터치 액션 설정 추가
1 parent 623f124 commit e9c2626

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

apps/ticket/src/app/(pages)/event/[eventId]/time-table/_components/TimeTableLayout/index.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
overflow: auto;
4747
scrollbar-width: none;
4848

49+
/* 모바일 스크롤 성능 최적화 */
50+
-webkit-overflow-scrolling: touch;
51+
scroll-behavior: smooth;
52+
overscroll-behavior: contain;
53+
4954
&::-webkit-scrollbar {
5055
display: none;
5156
}

apps/ticket/src/styles/global.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
@use "@permit/design-system/styles/variables" as theme;
22

3+
html,
4+
body {
5+
touch-action: pan-y;
6+
}
7+
38
body {
49
min-height: 100vh;
510

0 commit comments

Comments
 (0)