@@ -94,7 +94,7 @@ const VoteStatusChart = ({
9494 // Show loading state
9595 if ( isLoadingVotes && ! error ) {
9696 return (
97- < div className = "flex items-center justify-center p-4" >
97+ < div className = "flex items-center justify-center p-4 min-h-[60px] " >
9898 < div className = "animate-spin rounded-full h-6 w-6 border-b-2 border-primary" > </ div >
9999 < span className = "ml-2 text-sm text-muted-foreground" >
100100 Loading vote data...
@@ -106,7 +106,7 @@ const VoteStatusChart = ({
106106 // Show error state with retry
107107 if ( error || ( ! hasData && ! isLoadingVotes ) ) {
108108 return (
109- < div className = "flex flex-col items-center justify-center p-4 space-y-2" >
109+ < div className = "flex flex-col items-center justify-center p-4 space-y-2 min-h-[60px] " >
110110 < div className = "flex items-center text-destructive" >
111111 < AlertCircle className = "h-4 w-4 mr-2" />
112112 < span className = "text-sm" > Failed to load vote data</ span >
@@ -131,7 +131,7 @@ const VoteStatusChart = ({
131131
132132 if ( ! voteDisplayData || ! calculations || ! progressBarCalculations ) {
133133 return (
134- < div className = "flex items-center justify-center p-4" >
134+ < div className = "flex items-center justify-center p-4 min-h-[60px] " >
135135 < span className = "text-sm text-muted-foreground" >
136136 No vote data available
137137 </ span >
@@ -141,7 +141,7 @@ const VoteStatusChart = ({
141141
142142 // Main vote display
143143 return (
144- < div className = "space-y-2" >
144+ < div className = "space-y-2 min-h-[60px] " >
145145 { /* Vote Progress Bar */ }
146146 < div className = "relative" >
147147 < div className = "h-3 sm:h-4 bg-muted rounded-sm overflow-hidden relative" >
0 commit comments