JSFiddle - React, Tailwind, and code Playground

by andrewtomici

HTML

<div class="bodyContainer">
    <div class="sidebar"></div>
    <div class="container"></div>
</div>

CSS

.bodyContainer {
 border: 1px solid black;
 width: 100%;
 min-height: 50px; 
 height: 100%;    
}

.sidebar {
    height: 100%;
}

.container {
    height: 100%;
}