How can I use HTML and CSS in Bubble’s Mobile Beta?I want to control the number of lines in a text element.
you can’t at least not the way you would on web.
bubble’s mobile beta doesn’t support raw html elements or custom css injection like the web builder does. so you can’t use css tricks like line-clamp or custom styles to control the exact number of lines in a text element.
right now, text behavior in the native builder is controlled by the built-in properties only (like max lines, if exposed, or letting it wrap naturally). if you don’t see a “max lines” option in the text settings, then it’s not something you can override with html/css.
so short answer: html/css control isn’t available in mobile beta. you’re limited to what the native text component allows.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.