# 调整类别展示面板的大小

**URL:** <https://meta.discourse.org/t/fixing-the-size-of-the-presentation-panels-of-categories/269457>\
**Category:** Support\
**Created:** [2023年六月23日 20:13 UTC](https://meta.discourse.org/t/fixing-the-size-of-the-presentation-panels-of-categories/269457 "2023-06-23T20:13:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wall-E](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wall-e/32/184438_2.png) [@Wall-E](https://meta.discourse.org/u/Wall-E)\
**Post date:** [2023年六月23日 20:13 UTC](https://meta.discourse.org/t/fixing-the-size-of-the-presentation-panels-of-categories/269457/1 "2023-06-23T20:13:00Z")

</div>

在我的网站上，所有类别的展示页面目前都比较混乱。描述类别的每个面板的大小似乎都随着图片的宽高比、描述的长度以及/或其中主题的数量而变化。如何才能让这些面板的大小相等，并在需要时自动调整图片大小？我正在使用 Grey Amber 主题。

 ![Screen Shot 2023-06-23 at 4.07.09 PM](https://global.discourse-cdn.com/meta/original/4X/f/e/1/fe1d1a45c571c85c574b1142cd7c3e6ea066aae2.jpeg)

---

<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:** [2023年六月26日 14:30 UTC](https://meta.discourse.org/t/fixing-the-size-of-the-presentation-panels-of-categories/269457/2 "2023-06-26T14:30:19Z")

</div>

看起来我们需要在这方面做一些工作……宽幅图片下方的空白尤其糟糕。同时，应用一点 CSS 可以始终将布局设置为

`title`  
`logo`  
`description`

 ![Screenshot 2023-06-26 at 10.28.52 AM](https://global.discourse-cdn.com/meta/original/4X/5/9/b/59b593499f1e0baace28f1bc255671a48860e803.png)

```css
.category-list {
  .category-logo.aspect-image {
    float: none;
    margin: 1em 0 0;
  }
}

```

---

<div class="post-metadata">

**Author:** ![Wall-E](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wall-e/32/184438_2.png) [@Wall-E](https://meta.discourse.org/u/Wall-E)\
**Post date:** [2023年六月26日 15:17 UTC](https://meta.discourse.org/t/fixing-the-size-of-the-presentation-panels-of-categories/269457/4 "2023-06-26T15:17:10Z")

</div>

看起来好多了！

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/1/9/319bd3801eeac6d49fe9385e729b99b31b45ce25.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2023年七月26日 15:17 UTC](https://meta.discourse.org/t/fixing-the-size-of-the-presentation-panels-of-categories/269457/5 "2023-07-26T15:17:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
