mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 20:48:01 +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
|
<img
|
||||||
src={banner.content['img-src']}
|
src={banner.content['img-src']}
|
||||||
alt={banner.content.title}
|
alt={banner.content.title}
|
||||||
className="h-full rounded-xl object-cover"
|
className="aspect-[4/3] h-full rounded-xl object-cover"
|
||||||
style={{ aspectRatio: '4/3' }}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user