Fix pagination on small devices
This commit is contained in:
parent
8ebb940f5b
commit
87c12f47e9
1 changed files with 15 additions and 13 deletions
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue