fix: Stars positioning
This commit is contained in:
		
							parent
							
								
									a6e6053c63
								
							
						
					
					
						commit
						1e357a75b8
					
				|  | @ -160,9 +160,11 @@ export const QuestionFooter: React.FC<Props> = ({ | |||
|     <div | ||||
|       className={`grid grid-cols-3 ${ | ||||
|         expandFooterToFullWidth ? "justify-between" : "" | ||||
|       } text-gray-500 mb-2 mt-1`}
 | ||||
|       } text-gray-500`}
 | ||||
|     > | ||||
|       <Stars num={question.qualityIndicators.stars} /> | ||||
|       <div className="self-center"> | ||||
|         <Stars num={question.qualityIndicators.stars} /> | ||||
|       </div> | ||||
|       <div | ||||
|         className={`${ | ||||
|           expandFooterToFullWidth ? "place-self-center" : "self-center" | ||||
|  |  | |||
|  | @ -140,10 +140,12 @@ export const QuestionCard: React.FC<Props> = ({ | |||
|           <LastUpdated timestamp={lastUpdated} /> | ||||
|         </div> | ||||
|         <div className="w-full"> | ||||
|           <QuestionFooter | ||||
|             question={question} | ||||
|             expandFooterToFullWidth={expandFooterToFullWidth} | ||||
|           /> | ||||
|           <div className="mb-2 mt-1"> | ||||
|             <QuestionFooter | ||||
|               question={question} | ||||
|               expandFooterToFullWidth={expandFooterToFullWidth} | ||||
|             /> | ||||
|           </div> | ||||
|         </div> | ||||
|       </div> | ||||
|     </Card> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user