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: update image gallery styles (#15301)

Wu Tianweifcd9fd8513c6
diff --git a/web/app/components/base/image-gallery/style.module.css b/web/app/components/base/image-gallery/style.module.css
index 116d6025089..64756a5d69d 100644
--- a/web/app/components/base/image-gallery/style.module.css
+++ b/web/app/components/base/image-gallery/style.module.css
@@ -1,8 +1,8 @@
.item {
- height: 200px;
+ max-height: 200px;
margin-right: 8px;
margin-bottom: 8px;
- object-fit: cover;
+ object-fit: contain;
object-position: center;
border-radius: 8px;
cursor: pointer;