@@ -122,8 +122,8 @@ export const ListContainer = styled.div<{$isTablet: boolean; $isBig: boolean; $i
122122 return 'repeat(auto-fit, 300px)' ; // 데스크탑: 자동 너비 조정
123123 } } ;
124124
125- gap: ${ ( props ) => ( props . $isMobile ? '15px' : props . $isTablet ? '20px' : '20px' ) }
126- ${ ( props ) => ( props . $isMobile ? ' 10px' : props . $isTablet ? '10px' : props . $isBig ? '4vw' : '10vw' ) } ;
125+ /* 블로그 카드와 동일, gap을 clamp로 반응형 설정? clamp 싱기싱기 */
126+ gap: clamp(10px, 2vw, 24px) clamp( 10px, 1vw, 16px) ;
127127
128128 justify-items: ${ ( props ) => ( props . $isMobile || props . $isTablet ? 'start' : 'start' ) } ;
129129
@@ -133,9 +133,10 @@ export const ListContainer = styled.div<{$isTablet: boolean; $isBig: boolean; $i
133133export const SkeletonListContainer = styled ( ListContainer ) `` ;
134134
135135export const SkeletonCard = styled . div < { $isMobile : boolean ; } > `
136- width: 300px;
137- height: ${ ( props ) => ( props . $isMobile ? '170px' : '200px' ) } ;
138- border-radius: 16px;
136+ width: 100%;
137+ /* 반응형 높이: 최소 150px, 화면 커지면 증가, 최대 200px */
138+ height: clamp(150px, 14vw, 200px);
139+ border-radius: ${ ( props ) => ( props . $isMobile ? '10px' : '16px' ) } ;
139140 background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
140141 background-size: 400% 100%;
141142 animation: skeleton-shimmer 1.2s ease-in-out infinite;
@@ -149,8 +150,9 @@ export const SkeletonCard = styled.div<{$isMobile: boolean;}>`
149150/* 비어 있을 떄 출력하는 레이아웃 잡는 컨테이너 */
150151export const DescriptionContainer = styled . div `
151152 width: 100%;
152- margin: 20px;
153- display: block;
153+ margin: 20px auto;
154+ display: flex;
155+ margin-bottom: 100px;
154156` ;
155157
156158/* 텍스트 컨테이너*/
0 commit comments