I've been working on a project and came to a little problem. I have a dynamic text field that displays what was entered into a separate input text box after an update button is placed.

Simple enough, right?

There's a design problem now:

This is how I want the result to look:

How can I script the input or dynamic text to get the desired result?