I’ve organized employees names and titles in two different text blocks inside a div-wrapper. The wrapper is a flex-box. When the name of the employee is short, the flex-child that contains the name adjusts its width to match the length of the name (+ padding ofcourse). But whenever the name gets too long and has to wrap to a new line, the whole text block extends to 100% width.
How can I make the text box adjust its width to the longest line of text.
Here is my site Read-Only: LINK