Fix pagination on small devices

This commit is contained in:
Edgar P. Burkhart 2024-01-02 15:15:57 +01:00
parent 8ebb940f5b
commit 87c12f47e9
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
1 changed files with 15 additions and 13 deletions

View File

@ -165,20 +165,22 @@ footer {
} }
} }
&.n3 { @media (width > 720px) {
display: grid; &.n3 {
grid-template-columns: repeat(3, 1fr); display: grid;
width: max-content; grid-template-columns: repeat(3, 1fr);
margin: 0.5rem auto; width: max-content;
margin: 0.5rem auto;
.prev { .prev {
grid-column: 1; grid-column: 1;
} }
.cur { .cur {
grid-column: 2; grid-column: 2;
} }
.next { .next {
grid-column: 3; grid-column: 3;
}
} }
} }