akveo / akveo/nebular

[Context Menu] Not centered context menu

未关闭
#452 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug module:theme P3: minor
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

### Issue type

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

* [x] bug report
* [ ] feature request

### Issue description

**Current behavior:**

When creating a `` component only showing the picture (`onlyPicture=true`), the corresponding context menu is not centered under the picture. It looks like, even without showing the title or name of the user, a `div` with the class `info-container` is created which has a `margin-left: .5rem` attached. Without it, it works as expected.

**Expected behavior:**

Context menu is centered under the picture, even without showing the name and title of the user.

**Steps to reproduce:**

In your HTML code insert:
`



`

**Related code:**

![image](https://user-images.githubusercontent.com/12052402/40590383-053a8208-61fe-11e8-80cf-ffb26a544eab.png)

### Other information:

Node: v8.11.2
OS: Windows 10 Pro
Browser: Chrome

**Angular, Nebular**

Angular: 6.0.2
nebular/theme: 2.0.0-rc.8

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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