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
parent 61f5de9662
commit d2624b13a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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