# Problema de layout ao clicar em @mention dentro de um cartão de usuário

**URL:** <https://meta.discourse.org/t/layout-issue-when-you-click-on-mention-within-a-user-card/82121>\
**Category:** UX\
**Tags:** user-card\
**Created:** [Março 3, 2018, 2:45pm UTC](https://meta.discourse.org/t/layout-issue-when-you-click-on-mention-within-a-user-card/82121 "2018-03-03T14:45:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)\
**Post date:** [Março 6, 2018, 2:10pm UTC](https://meta.discourse.org/t/layout-issue-when-you-click-on-mention-within-a-user-card/82121/6 "2018-03-06T14:10:16Z")

</div>

> [@awesomerobot](#):
>
> we wouldn’t want to raise the card position in the z-index, because then if you open a usercard and scroll without closing it, the card would always show above the header/title/nav, etc

Why? The header has a z-index of 1000. If the card has a z-index of 200, and the nested card has 201, and the sub-nested card has 202, then you can click cards for quite awhile before it reaches 1000 and breaks the layout.

---

_[View the full topic](https://meta.discourse.org/t/layout-issue-when-you-click-on-mention-within-a-user-card/82121)._
