Hi there,
try this CSS, on small screen ( mobiles ) it will also stack the navigation to stop the two elements from overlapping when long words are the title:
/* Reduce font size and lineheight on smaller devices */
@media(max-width: 768px) {
.post-navigation > div * {
font-size: 16px;
line-height: 1em;
}
}
/* On small devices stack the navigation and add border between */
@media(max-width: 500px) {
.post-navigation {
flex-direction: column;
}
.post-navigation > div {
width: 100% !important;
}
.post-navigation div {
padding: 20px 0;
}
.post-navigation .nav-previous {
margin-bottom: 10px;
border-bottom: 1px solid #ccc
}
}