fix: the issue of text overflow in the NavSelector component (#2976)

This commit is contained in:
legao 2024-03-26 09:22:01 +00:00 • committed by GitHub
commit d2624b13a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,8 +77,10 @@ const NavSelector = ({ curNav, navs, createText, onCreate, onLoadmore }: INavSel
<Indicator /> <Indicator />
</div> </div>
</div> </div>
<div className='truncate'>
{nav.name} {nav.name}
</div> </div>
</div>
</Menu.Item> </Menu.Item>
)) ))
} }