mirror of https://github.com/langgenius/dify.git
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