# 权限表对齐错误

**URL:** <https://meta.discourse.org/t/bad-permission-table-alignment/380295>\
**Category:** UX\
**Created:** [2025年八月26日 07:11 UTC](https://meta.discourse.org/t/bad-permission-table-alignment/380295 "2025-08-26T07:11:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![thoka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thoka/32/115652_2.png) [@thoka](https://meta.discourse.org/u/thoka)\
**Post date:** [2025年八月26日 07:11 UTC](https://meta.discourse.org/t/bad-permission-table-alignment/380295/1 "2025-08-26T07:11:07Z")

</div>

对于较长的翻译（例如德语），权限表中的标题和按钮将不对齐：

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/c/6/2c644f2222cde6aab022cb256b9748321b7facd5.png)

我在我们的实例中通过以下方式修复了此问题：

```css
.category-permissions-table {
  max-width: 750px;
}

.category-permissions-table .permission-row .group-name {
  width: 25%;
}

.category-permissions-table .permission-row .options {
  width: 75%;
}

```

---

_[View the full topic](https://meta.discourse.org/t/bad-permission-table-alignment/380295)._
