# 查看分类时，显示的“关于”文本是否有字数限制？

**URL:** https://meta.discourse.org/t/is-there-a-limit-to-displayed-about-text-when-viewing-category/157678
**Category:** Support
**Created:** [2020年七月14日 07:41 UTC](https://meta.discourse.org/t/is-there-a-limit-to-displayed-about-text-when-viewing-category/157678 "2020-07-14T07:41:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)
#### Post date: [2020年七月14日 07:41 UTC](https://meta.discourse.org/t/is-there-a-limit-to-displayed-about-text-when-viewing-category/157678/1 "2020-07-14T07:41:31Z")

</div>

（请注意，我对此进行了测试，因此您可能需要在相关 [主题](https://discuss.elastic.co/t/about-the-elastic-stack-category/235254) 的历史版本之间切换，以查看我下文提到的差异。）

在我们 [这个分类](https://discuss.elastic.co/c/elastic-stack/81) 中，您可以看到“关于”文本，内容如下：

> [Elasticsearch](https://www.elastic.co/elasticsearch)、[Kibana](https://www.elastic.co/kibana)、[Beats](https://www.elastic.co/beats) 和 [Logstash]([Logstash: Collect, Parse, Transform Logs | Elastic](http://www.elastic.co/logstash)] —— 也称为 [ELK Stack](https://www.elastic.co/elk-stack)。可靠且安全地从任何来源、以任何格式获取数据，然后实时进行搜索、分析和可视化。

[整个主题](https://discuss.elastic.co/t/about-the-elastic-stack-category/235254) 在该文本下方还有一段额外内容，但在访问顶级分类时并不会显示：

> 请将您的主题发布到相关产品分类下。

如果我在“关于”帖子中移除 CRLF，将这两个段落合并为一个（不带换行），则上述两段文本会显示在一起，但格式不如我们预期的那样美观。

我想确认一下，这是否是预期行为？或者我们是否可以对此进行配置（我在设置中未找到任何可调整该项的选项）？

---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [2020年七月14日 17:56 UTC](https://meta.discourse.org/t/is-there-a-limit-to-displayed-about-text-when-viewing-category/157678/2 "2020-07-14T17:56:04Z")

</div>

需要澄清一下：

当您列出额外的文本，提示用户在合适的类别中发帖时，如果该文本在一行内则不会显示，但如果放在单独的一行则会显示，是这样吗？

您能分享一些截图，以便我们更好地理解吗？

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2020年七月15日 00:05 UTC](https://meta.discourse.org/t/is-there-a-limit-to-displayed-about-text-when-viewing-category/157678/3 "2020-07-15T00:05:26Z")

</div>

我觉得有个技巧：

你可以使用：

```plaintext
<span class="excerpt">我的特殊摘录</span>

```

或者

```plaintext
<div class="excerpt">
我的特殊摘录
</div>

```

---

<div class="post-metadata">

### Author: ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)
#### Post date: [2020年七月15日 01:36 UTC](https://meta.discourse.org/t/is-there-a-limit-to-displayed-about-text-when-viewing-category/157678/4 "2020-07-15T01:36:44Z")

</div>

我尝试了 `div` 和 `span` 两种方法，但它们都只显示了最后一行。

以下是两段之间存在换行时的情况：

 ![Screen Shot 2020-07-15 at 11.34.43](https://global.discourse-cdn.com/meta/original/3X/b/0/b0ed6a0075334ee83b9246fa7793ad16565056a9.png)

以下是没有换行时的情况：

 ![Screen Shot 2020-07-15 at 11.35.20](https://global.discourse-cdn.com/meta/original/3X/6/2/62f497759cbbdab1c9a59b9f1a70ce1033d7f061.png)
