ajk9044
(Andrew Kim)
#1
I have a number reference field ‘Users’ and ‘Experts’. Let’s say Users is set to 2000 and Experts is 20.
I want to show in Heading, “There are currently 2000 users and 20 experts.”
I’m not sure how I can do that. If I put the div as flex, then it looks like this: https://i.gyazo.com/b0d88c180f5c96e1da442dffa6027507.png
How can I make it look like this? (mock design): https://i.gyazo.com/0f62a58a4abd1c30ed058bfd5f54fb24.png
Hey @ajk9044 ! Welcome to the forum.
You will want to use either a custom code embed element or set your text blocks to display: inline.
When using a custom code embed element you can create your string of text using dynamic content where needed.
When using display: inline, each text element is only as wide as the content. The next text element will then start right next to the previous.
Hope that helps. 