JSFiddle - React, Tailwind, and code Playground

HTML

<div class="vertical-center-container">
    <div class="vertical-center-table-cell">
        <p>Small content:</p>
        <div class="container vertical-center-container">
            <div class="vertical-center-table-cell">
                <p>How much content is in here?</p>
                <p>...</p>
                <p>Not much</p>
            </div>
        </div>
        <p>Big content:</p>
        <div class="container vertical-center-container">
            <div class="vertical-center-table-cell">
                <p>How much content is in here?</p>
                <p>Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>And Lots</p>
                <p>I am going to be bigger than min height!</p>
            </div>
        </div>

CSS

.container {
    border: 3px solid black;
    text-align:center;
    min-height: 200px;
}
.vertical-center-container {
    display: table;
    width:100%;
}
.vertical-center-table-cell {
    display: table-cell;
    vertical-align: middle;
}