feat: enhance explore page banner functionality with state management and animation improvements

This commit is contained in:
CodingOnStar 2025-10-15 09:55:14 +08:00
parent 1507792a0c
commit 53a80a5dbe
1 changed files with 1 additions and 2 deletions

View File

@ -115,8 +115,7 @@ export const BannerItem: FC<BannerItemProps> = ({ banner, autoplayDelay }) => {
<img
src={banner.content['img-src']}
alt={banner.content.title}
className="h-full rounded-xl object-cover"
style={{ aspectRatio: '4/3' }}
className="aspect-[4/3] h-full rounded-xl object-cover"
/>
</div>
</div>