akveo / akveo/nebular

[Context Menu] Not centered context menu

Open
#452 1 comment 0 reactions 0 assignees View on GitHub
bug module:theme P3: minor
Dominant language
TypeScript
Stars
8.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.