# How to clamp a text line to one line?

**URL:** <https://forum.bubble.io/t/how-to-clamp-a-text-line-to-one-line/388188>\
**Category:** Questions\
**Created:** [December 29, 2025, 12:38pm UTC](https://forum.bubble.io/t/how-to-clamp-a-text-line-to-one-line/388188 "2025-12-29T12:38:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Zeroic](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zeroic/32/246980_2.png) [@Zeroic](https://forum.bubble.io/u/Zeroic)\
**Post date:** [December 29, 2025, 12:58pm UTC](https://forum.bubble.io/t/how-to-clamp-a-text-line-to-one-line/388188/3 "2025-12-29T12:58:45Z")

</div>

Not sure if there’s a better way but I set a max height limit on the element and it works well

---

_[View the full topic](https://forum.bubble.io/t/how-to-clamp-a-text-line-to-one-line/388188)._
