JSFiddle - React, Tailwind, and code Playground

HTML

<div class="wrap">
    <div class="logo">TextLogo</div>
    <div class="text">Some text</div>
</div>

CSS

html, body {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
}
.wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}
.wrap > div {
    box-sizing: border-box;
}
.logo {
    background-color: #000;
    color: #fff;
    font-size: 16px;
    padding: 20px;
    padding-top: 40px;
}
.text {
    border-top: 4px solid #000;
    line-height: 2;
}