JSFiddle - React, Tailwind, and code Playground
by j08691
HTML
<div class='wrapper'>
<table class='table' border=1>
<tr>
<td>
Toolbar stuff goes here...
</td>
</tr>
<tr>
<td>
<div class='boxWrapper'>
<div class='box'>Content stuff goes here...</div>
</div>
</td>
</tr>
</table>
</div>
CSS
html,body{padding:0px;margin:0px;height:100%;}
.wrapper{
padding:1em;
height:100%;
box-sizing:border-box;
}
.table{
border-collapse:collapse;
width:100%;
height:100%;
box-sizing:border-box;
}
.table td{
padding:0px !important;
vertical-align:top;
}
.table tr:last-child{
height:100%;
}
.boxWrapper{
padding:1em;
height:100%;
box-sizing:border-box;
}
.box{
box-shadow:inset 0px 0px 5px #ccc;
padding:1em;
height:100%;
}