# 增加回复框的高度？

**URL:** https://meta.discourse.org/t/increase-height-of-reply-box/358491
**Category:** Support
**Tags:** composer
**Created:** [2025年三月23日 12:43 UTC](https://meta.discourse.org/t/increase-height-of-reply-box/358491 "2025-03-23T12:43:36Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [2025年三月23日 15:28 UTC](https://meta.discourse.org/t/increase-height-of-reply-box/358491/4 "2025-03-23T15:28:45Z")

</div>

作曲家是一个特例。  
添加 CSS（`min-height` 或 `height`）将覆盖向上/向下拖动框时的动态高度。

要设置初始作曲家高度，您可以使用以下 CSS：

```css
:root {
    --reply-composer-height: 255px; // 回复
    --new-topic-composer-height: 400px; // 新主题
}

```

编辑：我做了一个指南：

> [@Adjusting default composer height](https://meta.discourse.org/t/adjusting-default-composer-height/358504):
>
> bookmark This guide explains how to customize the default height of the composer when creating new topics or replies in Discourse. person_raising_hand Required user level: Administrator or Theme Developer Overview Discourse allows you to customize the default height of the composer when users create new topics or reply to existing ones. This can improve the user experience by providing a more comfortable editing space based on your community’s needs. Setting custom composer heights Disc…

---

_[View the full topic](https://meta.discourse.org/t/increase-height-of-reply-box/358491)._
