@@ -8,6 +8,7 @@ import { useQuery } from '@tanstack/react-query';
88import { privateInstance } from '@/apis/privateInstance' ;
99import ReviewTitle from './ReviewTitle' ;
1010import useUserStore from '@/stores/authStore' ;
11+ import cn from '@/lib/cn' ;
1112
1213import ReviewCardSkeleton from './Skeletons/ReviewCardSkeleton' ;
1314
@@ -67,7 +68,7 @@ function ReviewSection({
6768 if ( isLoading ) {
6869 return (
6970 < div className = 'mt-10 flex flex-col space-y-8' >
70- < div className = 'relative min-h-350 flex-col' >
71+ < div className = 'relative min-h-300 flex-col' >
7172 < ReviewTitle reviewCount = { reviewCount } rating = { rating } />
7273 { [ ...Array ( 3 ) ] . map ( ( _ , index ) => (
7374 < ReviewCardSkeleton key = { index } />
@@ -80,7 +81,7 @@ function ReviewSection({
8081 if ( ! reviewData || reviewData . reviews . length === 0 ) {
8182 return (
8283 < div className = 'mt-10 flex flex-col space-y-8' >
83- < div className = 'relative min-h-350 ' >
84+ < div className = 'relative min-h-300 ' >
8485 < ReviewTitle reviewCount = { reviewCount } rating = { rating } />
8586
8687 < div className = 'pointer-events-none absolute inset-0 z-10 flex h-full items-center justify-center select-none' >
@@ -103,8 +104,10 @@ function ReviewSection({
103104 < div className = 'mt-10 flex flex-col space-y-8' >
104105 < ReviewTitle reviewCount = { reviewCount } rating = { rating } />
105106
106- < div className = 'pointer-events-none relative min-h-350 select-none' >
107- < div className = { user ? '' : 'blur-sm' } > { ReviewComponent ( ) } </ div >
107+ < div className = 'pointer-events-none relative min-h-300 select-none' >
108+ < div className = { cn ( user ? '' : 'blur-sm' , 'mt-10' ) } >
109+ { ReviewComponent ( ) }
110+ </ div >
108111
109112 { ! user && (
110113 < div className = 'pointer-events-none absolute inset-0 z-10 flex h-full items-center justify-center select-none' >
0 commit comments