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: the issue of text overflow in the NavSelector component (#2976)

legaod2624b13a0b4
diff --git a/web/app/components/header/nav/nav-selector/index.tsx b/web/app/components/header/nav/nav-selector/index.tsx
index f6108661da4..5e9242a841c 100644
--- a/web/app/components/header/nav/nav-selector/index.tsx
+++ b/web/app/components/header/nav/nav-selector/index.tsx
@@ -77,7 +77,9 @@ const NavSelector = ({ curNav, navs, createText, onCreate, onLoadmore }: INavSel
<Indicator />
</div>
</div>
- {nav.name}
+ <div className='truncate'>
+ {nav.name}
+ </div>
</div>
</Menu.Item>
))