JSFiddle - React, Tailwind, and code Playground

HTML

<div class="flexContainer">
  <div class="fxel fxel1">
    <p>some text</p> 
    <p>some text</p> 
  </div>
  <div class="fxel fxel2">
    <p>loads of text</p> 
    <p>loads of text</p>
    <p>loads of text</p>
    <p>loads of text</p> 
    <p>loads of text</p>
    <p>loads of text</p>
    <p>loads of text</p> 
    <p>loads of text</p>
    <p>loads of text</p>
    <p>loads of text</p> 
    <p>loads of text</p>
    <p>loads of text</p>
    <p>loads of text</p> 
    <p>loads of text</p>
    <p>loads of text</p>
    <p>loads of text</p> 
    <p>loads of text</p>
    <p>loads of text</p>
  </div>
</div>

CSS

body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.flexContainer {
 height: 100%;
 width: 100%;
 display: flex;
 flex-direction: column;
 flex-wrap: nowrap;
 background-color: pink;
}

.fxel1 {
  /* css */
}

.fxel2 {
  /* css */
}

.fxel {
  /* css */
}