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

View file

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