akveo / akveo/ngx-admin

Long Menu Title not responsive - Icons disappear

未关闭
#5,813 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
25.7k
派生
7.9k
PR 合并指标
30 天内没有已合并 PR

描述

### Issue type

**I'm submitting a ...** (check one with "x")

* [x] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository

### Issue description

**Current behavior:**
A ***long*** Menu Item text lets the menu item icon disapear.... So the menu item text is not responsible

**Expected behavior:**
Text schould be ellipsed ("...") at the end or wraped into next line or other lolutions

**Steps to reproduce:**
1. Create MenuItem (NbMenuItem) and set the title to some very long string....

**Related code:**
```
this.menu.push({
title: this.organisation.tenant_name, // this name is flexible so it can be very long....
icon: 'home-outline',
children: this.createPoolChildren(),
});

```

### Other information:

**npm, node, OS, Browser**
```
Node: v14.15.1
OS: Windows (10)
Browser: Chrome
```

**Angular, Nebular**
```

```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。