My problem is similar to this question, but different.
I have a table cell of an unknown width. This cell contains an input
and a span
. The span
should be as wide as its contents needs and the input
should take all the remaining space.
I've created a trivial plunk for this seemingly trivial question. The random text should be on the very right and the input should grow or shrink as needed to fill the yellow td
.