# 1. 放置鼠标后，它变成超链接 2. 红色框分类的高度设置在哪里？

**URL:** <https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975>\
**Category:** Support\
**Created:** [2025年一月20日 07:42 UTC](https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975 "2025-01-20T07:42:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![qiancsf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qiancsf/32/346860_2.png) [@qiancsf](https://meta.discourse.org/u/qiancsf)\
**Post date:** [2025年一月20日 07:42 UTC](https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975/1 "2025-01-20T07:42:06Z")

</div>

我想问以下问题：1. 鼠标悬停后变成超链接 2. 红色框分类的高度在哪里设置？

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

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2025年一月20日 11:36 UTC](https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975/2 "2025-01-20T11:36:00Z")

</div>

> [@qiancsf](#):
>
> 1. 鼠标悬停后，它会变成一个超链接

有一个官方的主题组件可以实现这个功能 🙂

> [@Clickable Topic](https://meta.discourse.org/t/clickable-topic/183339?u=cocoquark):
>
> discourse2Summary Clickable Topic makes the entire area of a topic-list-item clickable, as opposed to just the topic title.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/clickable-topic)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-clickable-topic](https://github.com/discourse/discourse-clickable-topic)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features [preview] discourse2 Hosted by us? Theme components are available to use on ou…

> [@qiancsf](#):
>
> 1. 红色框分类的高度在哪里设置？

我很确定这个高度不是固定的，而是取决于字体大小。

---

<div class="post-metadata">

**Author:** ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Post date:** [2025年一月20日 11:41 UTC](https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975/3 "2025-01-20T11:41:25Z")

</div>

> [@qiancsf](#):
>
> 红色框分类的高度在哪里设置？

也许可以通过检查页面来找到？

---

<div class="post-metadata">

**Author:** ![qiancsf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qiancsf/32/346860_2.png) [@qiancsf](https://meta.discourse.org/u/qiancsf)\
**Post date:** [2025年一月21日 03:14 UTC](https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975/4 "2025-01-21T03:14:48Z")

</div>

[https://meta.discourse.org/](https://meta.discourse.org/) 这些框的高度不同。它们应该具有相同的高度。

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2025年一月21日 12:51 UTC](https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975/5 "2025-01-21T12:51:16Z")

</div>

哦，我明白了。类别选择器和标签选择器的高度不同。

这是来自 [meta.discourse.org](http://meta.discourse.org) 的截图，还是另一个论坛的截图？

字体不同可能是造成这种差异的原因。

---

<div class="post-metadata">

**Author:** ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Post date:** [2025年一月21日 13:05 UTC](https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975/6 "2025-01-21T13:05:26Z")

</div>

这里和主题创建者（Theme Creator）上也是一样。

---

<div class="post-metadata">

**Author:** ![qiancsf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qiancsf/32/346860_2.png) [@qiancsf](https://meta.discourse.org/u/qiancsf)\
**Post date:** [2025年一月21日 14:22 UTC](https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975/7 "2025-01-21T14:22:08Z")

</div>

![IMG_20250121_222106](https://global.discourse-cdn.com/meta/original/4X/a/6/3/a630447be8026f13b1ab0000795fd557b57fced9.jpeg)

Edge 浏览器

---

<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年一月21日 16:47 UTC](https://meta.discourse.org/t/1-after-placing-the-mouse-it-becomes-a-hyperlink-2-where-is-the-height-of-the-red-box-classification-set/347975/8 "2025-01-21T16:47:05Z")

</div>

简体中文似乎使用了更多的垂直空间。您可能需要调整 `line-height` CSS 属性。

特别是在此编辑器上下文中，您可以尝试此 CSS：

```css
.composer-fields .title-and-category .select-kit .select-kit-header {
    line-height: var(--line-height-medium);
}

```

之前/之后：

 ![1G0fPFQNRB](https://global.discourse-cdn.com/meta/original/4X/c/2/3/c23bc9eca463cd81600943d823a39f8f2fdb060a.png)
