# 徽章的长描述文本框超出了边界

**URL:** <https://meta.discourse.org/t/long-description-text-box-for-badges-extends-beyond-boundary/396167>\
**Category:** Bug\
**Tags:** badges\
**Created:** [2026年二月16日 05:02 UTC](https://meta.discourse.org/t/long-description-text-box-for-badges-extends-beyond-boundary/396167 "2026-02-16T05:02:05Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2026年三月5日 16:53 UTC](https://meta.discourse.org/t/long-description-text-box-for-badges-extends-beyond-boundary/396167/17 "2026-03-05T16:53:06Z")

</div>

感谢大家的详细信息，以下是一些修复这些问题的调整：

> <https://github.com/discourse/discourse/pull/38284>
>
> Reported here: https://meta.discourse.org/t/long-description-text-box-for-badges…-extends-beyond-boundary/396167
> 
> This prevents the overflow, adds a class to the parent container when the favorite button is available, and makes the favorite button a little smaller to give it more space from descriptions (which could technically overlap in some specific cases). 
> 
> Before:
> \<img width="400" alt="image" src="https://github.com/user-attachments/assets/33166922-12af-4595-aec6-7824a9e77ce5" /\>
> 
> 
> After:
> \<img width="400" alt="image" src="https://github.com/user-attachments/assets/02ee0a94-1cee-4539-8837-0329ed9a213a" /\>
> 
> Before:
> \<img width="400" alt="image" src="https://github.com/user-attachments/assets/e88ea366-e504-49d1-ba14-08904e52ce6c" /\>
> 
> After:
> \<img width="400" alt="image" src="https://github.com/user-attachments/assets/04dba4f2-ae03-49a0-af95-7bd786b39e93" /\>

---

_[View the full topic](https://meta.discourse.org/t/long-description-text-box-for-badges-extends-beyond-boundary/396167)._
