Looking for a solution related to an HTML segment?
<div class="outer" style="min-width: 150px;">
<div class="inner1">
<span>Lorem ipsum dolor sit amet</span> // Possibly long, truncate if needed
<div class="inner2"/>
</div>
The outer div has a minimal width that can expand. The objective is for the outer div's width to grow with inner2, but not with inner1. In essence, the outer div's width should be dictated by inner2, regardless of inner1. For instance:
If inner2's width is less than 150px, inner1 will have a width of 150px.
If inner2's width exceeds 150px, inner1's width will match inner2's div.