# 长用户资料卡截断徽章

**URL:** <https://meta.discourse.org/t/long-user-profile-cards-cut-off-badges/141301>\
**Category:** UX\
**Created:** [2020年二月11日 15:50 UTC](https://meta.discourse.org/t/long-user-profile-cards-cut-off-badges/141301 "2020-02-11T15:50:27Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2020年二月14日 21:24 UTC](https://meta.discourse.org/t/long-user-profile-cards-cut-off-badges/141301/8 "2020-02-14T21:24:47Z")

</div>

我为移动端添加了一些限制，将用户字段部分的最大高度设为上限。如果该部分过长，它将可滚动，并且每个用户字段在超过 3 行后会被截断。因此，即使在最小的设备（350x450）上，卡片溢出也变得相当困难。

 ![Screen Shot 2020-02-14 at 4.15.24 PM](https://global.discourse-cdn.com/meta/original/3X/5/4/5411bded7083532bb929e97b94cd4291a0780194.png)

> <https://github.com/discourse/discourse/commit/cd5b7109d04722df5c39b2ded9fa4ead6c290ce4>

---

_[View the full topic](https://meta.discourse.org/t/long-user-profile-cards-cut-off-badges/141301)._
