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