JSFiddle - React, Tailwind, and code Playground
by blueseal
HTML
<div id="left">
<div>text</div>
<p>
text
</p>
</div>
CSS
html, body {
height: 100%;
}
#left {
background: red;
height: auto !important;
min-height: 100%;
width: 200px;
}
p { display: none; }
JavaScript
$('div').click(function() {
$('p').show();
});