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

View File

@@ -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>
))