Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(home): match banner image aspect ratio to blog (#42422)

Joel99ba5a57decb
diff --git a/web/features/home/banner/banner-item.tsx b/web/features/home/banner/banner-item.tsx
index 739e519c019..c4553c4e0c7 100644
--- a/web/features/home/banner/banner-item.tsx
+++ b/web/features/home/banner/banner-item.tsx
@@ -49,13 +49,13 @@ export function BannerItem({ banner, sort, language, accountId, titleId }: Banne
</div>
</div>
- <div className="pointer-events-none relative z-20 hidden w-60 max-w-60 shrink-0 flex-col items-end justify-center self-stretch p-2 @min-[720px]/banner:flex">
+ <div className="pointer-events-none relative z-20 hidden w-[213.65px] max-w-[213.65px] shrink-0 flex-col items-end justify-center self-stretch p-2 @min-[720px]/banner:flex">
<img
src={imgSrc}
alt=""
- width={224}
+ width={200}
height={168}
- className="aspect-4/3 w-full shrink-0 rounded-xl object-cover"
+ className="aspect-20/17 w-full shrink-0 rounded-xl object-cover"
/>
</div>