File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed
Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export default function Carousel({ recipients }) {
88 const [ startX , setstartX ] = useState ( 0 ) ; // 클릭 시작 좌표 - 터치 스크롤
99 const [ isBouncing , setBouncing ] = useState ( false ) ; // 캐러셀 끝이면 bouncing 모션
1010 const [ windowWidth , setWindowWidth ] = useState ( window . innerWidth ) ;
11- const isDesktop = windowWidth > 1023 ;
11+ const isDesktop = windowWidth > 1200 ;
1212
1313 useEffect ( ( ) => {
1414 function handleResize ( ) {
Original file line number Diff line number Diff line change 8686 width : 100vw ;
8787 padding : 0 24px ;
8888 }
89- }
90- // 태블릿
91- @media (max-width : 1023px ) {
92- .carousel__cardset-wrapper {
93- width : 100vw ;
94- }
9589 .carousel ::before ,
9690 .carousel ::after {
9791 display : none ;
10094 display : none ;
10195 }
10296}
97+ // 태블릿
98+ @media (max-width : 1023px ) {
99+ // .carousel__cardset-wrapper {
100+ // width: 100vw;
101+ // }
102+ // .carousel::before,
103+ // .carousel::after {
104+ // display: none;
105+ // }
106+ // .carousel__direction-button {
107+ // display: none;
108+ // }
109+ }
103110
104111// 모바일
105112@media (max-width : 767px ) {
You can’t perform that action at this time.
0 commit comments