Fix spacing with pagination

This commit is contained in:
Edgar P. Burkhart 2024-01-02 15:07:42 +01:00
parent 3fd87ff370
commit 5ccae7f4a3
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -150,6 +150,7 @@ footer {
.pagination { .pagination {
text-align: center; text-align: center;
font-feature-settings: var(--num); font-feature-settings: var(--num);
a { a {
min-width: 1rem; min-width: 1rem;
padding: 0 0.5rem; padding: 0 0.5rem;
@ -168,7 +169,7 @@ footer {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
width: max-content; width: max-content;
margin: auto; margin: 0.5rem auto;
.prev { .prev {
grid-column: 1; grid-column: 1;
@ -180,6 +181,10 @@ footer {
grid-column: 3; grid-column: 3;
} }
} }
& + section :first-child {
margin-top: 0;
}
} }
@media (width < 1024px) { @media (width < 1024px) {