JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<div class="left">
left content flexible width
<br>
left content flexible width
left content flexible width
<br>
left content flexible width
left content flexible width
<br>
left content flexible width
left content flexible width
<br>
left content flexible width
left content flexible width
<br>
left content flexible width
left content flexible width
<br>
left content flexible width
left content flexible width
<br>
left content flexible width
left content flexible width
<br>
left content flexible width
left content flexible width
<br>
left content flexible width
left content flexible width
<br>
left content flexible width
</div>
<div class="right">
right content fixed width
</div>
</div>
CSS
.container {
display: table;
width: 100%;
height: auto;
overflow: hidden;
}
.right {
width: 80px;
display: table-cell;
background: #aafed6;
}
.left {
display: table-cell; /* not needed, just for clarification */
background: #e8f6fe;
/* the next props are meant to keep this block independent from the other floated one */
width: auto;
overflow: hidden;
}