# 移动主题中的帖子回复列表

**URL:** https://meta.discourse.org/t/list-of-post-replies-in-mobile-theme/162431
**Category:** Feature
**Created:** [2020年八月29日 18:48 UTC](https://meta.discourse.org/t/list-of-post-replies-in-mobile-theme/162431 "2020-08-29T18:48:42Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [2020年九月30日 14:38 UTC](https://meta.discourse.org/t/list-of-post-replies-in-mobile-theme/162431/10 "2020-09-30T14:38:58Z")

</div>

**你好，Nildarar，**

我今天刚做了这件事。在管理员后台 **创建一个新组件** ，并将以下内容添加到该组件的 **移动端 CSS** 中。

这将启用移动端的回复按钮。可能需要做一些调整以适配你的主题，但如果你提供你的网站链接，我可以帮你完成。🙂

```
.show-replies {
    display: block;
    margin-bottom: 10px;
    margin-left: -6px;
    font-weight: 600;
}

.show-replies span {
    margin-right: 5px;
}

.embedded-posts .topic-avatar {
    padding-left: 0;
    padding-top: 0;
    width: 45px;
}

.embedded-posts {
   margin-top: 20px;
   padding: 10px;
   background: var(--primary-low, $primary-low);
   border-radius: 4px;
}

.embedded-posts > div:not(:last-of-type) {
   border-bottom: 1px solid var(--primary-medium, $primary-medium);
   margin: 10px 0px 20px 0px;
}

.embedded-posts .topic-body .cooked {
    display: inline-block;
    margin-top: 10px;
}

```

**这是移动端视图的效果** ⬇

 ![reply-mobile](https://global.discourse-cdn.com/meta/original/3X/6/2/62c9c25835be640a8b586b76d022be12b6376838.gif)

**你可以在此页面通过移动端查看效果。**

> **[A Nagy Brunhilde kibeszélő!](https://vaperina.cc/t/a-nagy-brunhilde-kibeszelo/437)**
>
> Úgy gondoltuk ez a “kicsike” megérdemel egy külön témát a Vaperinán, hiszen rengetegen használjátok és nagy átlagban pozitív véleménnyel vagytok róla. Jöhetnek a tanácsok, tapasztalatok stb… Minden ami Brunhilde! 🙂

**更新：** 最新的回复不再带有边框。

---

_[View the full topic](https://meta.discourse.org/t/list-of-post-replies-in-mobile-theme/162431)._
