# 在作曲预览中用Steam Onebox显示溢出文本

**URL:** <https://meta.discourse.org/t/overflowing-text-with-steam-onebox-in-the-composer-preview/316109>\
**Category:** UX\
**Tags:** composer, onebox\
**Created:** [2024年七月12日 16:19 UTC](https://meta.discourse.org/t/overflowing-text-with-steam-onebox-in-the-composer-preview/316109 "2024-07-12T16:19:58Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [2024年七月12日 16:19 UTC](https://meta.discourse.org/t/overflowing-text-with-steam-onebox-in-the-composer-preview/316109/1 "2024-07-12T16:19:58Z")

</div>

存在一个小的用户体验问题。它只在预览中发生，因为已发布的帖子将使用 iframe。

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/6/a/a6a54275d5a2fe3dfa45d5c8f52878fe73d38f0e.png)

> **可能的解决方案：**
>
> 在容器上使用 `overflow-x: auto`，因为我们不希望一个框占用不必要的空间。
> 
> ![image](https://global.discourse-cdn.com/meta/original/4X/c/4/e/c4ea167f008ab4b494c249ae6f171c23c98d223c.png)
