JSFiddle - React, Tailwind, and code Playground

by cent cent

HTML

<div class="prevNext">
    <a class="prev" href="#">Previous Article</a>
    <a class="next" href="#">Next Article</a>
</div>

CSS

body {
    margin: 8px;
}

.prevNext {
    text-align: justify;
    border: 1px solid #ccc;
    /*line-height: 0;*/
}

.prevNext a {
    display: inline-block;
    /*line-height: 1.2em;*/
    position: relative;
}

.prevNext:before{
    content: '';
    display: block;
    width: 100%;
    margin-bottom: -1.2em; /* your line-height */
}

.prevNext:after {
    content: '';
    display: inline-block;
    width: 100%;
    /*vertical-align: top;*/
}