JSFiddle - React, Tailwind, and code Playground

HTML

<table>
  <tr>
    <td class="small">First column with text</td>
    <td class="extend">This column should fill the remaining space but should be truncated if the text is too long</td>
    <td class="small">Small column</td>
  </tr>
</table>

CSS

table {  display: table; width: 100%; table-layout: fixed; position: absolute; top: 0; }
td.small:first-Child { background: blue; width: 100px;}
td.small:last-Child { background: green; width: 300px;}
td.extend { background: red; }