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: explore app list grid style conflict and remove useless style (#725)

Joel17c3a63e50ec
diff --git a/web/app/components/explore/app-list/index.tsx b/web/app/components/explore/app-list/index.tsx
index 62987683016..4c6d995d0d8 100644
--- a/web/app/components/explore/app-list/index.tsx
+++ b/web/app/components/explore/app-list/index.tsx
@@ -101,7 +101,7 @@ const Apps: FC = () => {
}}
>
<nav
- className={`${s.appList} grid content-start grid-cols-1 gap-4 px-12 pb-10grow shrink-0`}>
+ className={`${s.appList} grid content-start gap-4 px-12 shrink-0`}>
{currList.map(app => (
<AppCard
key={app.app_id}
diff --git a/web/app/components/explore/app-list/style.module.css b/web/app/components/explore/app-list/style.module.css
index cda2bd53c17..fb6b1ee94f2 100644
--- a/web/app/components/explore/app-list/style.module.css
+++ b/web/app/components/explore/app-list/style.module.css
@@ -6,6 +6,10 @@
text-fill-color: transparent;
}
+.appList {
+ grid-template-columns: repeat(1, minmax(0, 1fr))
+}
+
@media (min-width: 1624px) {
.appList {
grid-template-columns: repeat(4, minmax(0, 1fr))