Browse Source

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

tags/0.5.11
legao 1 year ago
parent
commit
d2624b13a0
No account linked to committer's email address
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      web/app/components/header/nav/nav-selector/index.tsx

+ 3
- 1
web/app/components/header/nav/nav-selector/index.tsx 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>
))

Loading…
Cancel
Save