I have a single-line div with content on the left and on the right:
---------------------------------------------------------------------------
|Single line of text Icon and single line of text|
---------------------------------------------------------------------------
If there is no enough space I want the right content to take the width it needs while the left content should take the rest of the available width (with overflow hidden to keep a single line).
The problem is that the content (left & right) is dynamic, so I do not know its width in advance.
Any hint? Thanks