Hi there,
you will need to remove this:
.next.page-numbers {
display: block;
background-color: blue;
color: white;
padding: 10px;
border-radius: 5px;
text-align: center;
width: 40%;
}
.nav-links {
display: block;
background-color: blue;
color: white;
padding: 10px;
border-radius: 5px;
text-align: center;
width: 40%;
}
And add this:
.nav-links .page-numbers {
display: block;
background-color: blue;
color: white;
padding: 10px;
border-radius: 5px;
text-align: center;
flex: 1 0 calc(50% - 5px);
box-sizing: border-box;
}
.nav-links {
display: flex;
}
.next.page-numbers {
margin-left: 5px;
}
.prev.page-numbers {
margin-right: 5px;
}