# /about 页面上的用户名不再是粗体

**URL:** <https://meta.discourse.org/t/usernames-are-no-longer-bold-on-the-about-page/391706>\
**Category:** Bug\
**Tags:** about-page\
**Created:** [2025年十二月18日 21:30 UTC](https://meta.discourse.org/t/usernames-are-no-longer-bold-on-the-about-page/391706 "2025-12-18T21:30:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2025年十二月19日 10:37 UTC](https://meta.discourse.org/t/usernames-are-no-longer-bold-on-the-about-page/391706/5 "2025-12-19T10:37:50Z")

</div>

> [@Richie](#):
>
> 用户名在 /about 页面上不再是粗体了：

抱歉，出现这个问题。在修复此问题时，我注意到我们正在使用 `AboutPageUser` 组件，它是 `UserInfo` 组件的重复项，所以我删除了前者。

> <https://github.com/discourse/discourse/pull/36803>
>
> The AboutPageUser component introduced in PR #36482 broke username styling by sw…apping the content between \`.username\` and \`.name\` spans based on the \`prioritizeNameInUx\` setting. This caused usernames to lose their bold styling since CSS targets elements by class name, not content.
> 
> This fix removes the custom AboutPageUser component and reuses the existing UserInfo component instead. UserInfo handles name priority correctly by using a \`--name-first\` CSS modifier class to change visual order via flexbox, while keeping the username content in the \`.username\` span where the bold styling is applied.
> 
> The page object for system specs is updated to detect which display mode is active by checking for the \`--name-first\` class, then mapping the span contents accordingly.
> 
> Ref - https://meta.discourse.org/t/391706
> 
> \*\*BEFORE\*\*
> 
> \<img width="1510" height="1293" alt="2025-12-19 @ 11 36 13" src="https://github.com/user-attachments/assets/56e1460e-30e9-41a4-92f7-c49bf9c3b9da" /\>
> 
> \*\*AFTER\*\*
> 
> \<img width="1510" height="1293" alt="2025-12-19 @ 11 36 06" src="https://github.com/user-attachments/assets/c92d165d-edaa-47e1-97fb-c6518ed3bbfe" /\>

---

_[View the full topic](https://meta.discourse.org/t/usernames-are-no-longer-bold-on-the-about-page/391706)._
