mirror of
https://github.com/langgenius/dify.git
synced 2026-01-23 12:12:02 +08:00
feat: enhance explore page banner functionality with state management and animation improvements
This commit is contained in:
parent
1507792a0c
commit
53a80a5dbe
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user