Skip to content

Commit c138ce1

Browse files
committed
Change pagination position.
screen width <= 830px.
1 parent c6ef254 commit c138ce1

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

assets/css/home.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@
103103
}
104104
}
105105

106+
/* Hide SideBar and TOC */
107+
@media all and (max-width: 830px) {
108+
.pagination {
109+
justify-content: center;
110+
}
111+
}
112+
106113
/* Sidebar is visible */
107114
@media all and (min-width: 831px) {
108115
.pagination {
@@ -120,8 +127,4 @@
120127
#post-list {
121128
padding-right: 0;
122129
}
123-
124-
.pagination {
125-
justify-content: center;
126-
}
127130
}

0 commit comments

Comments
 (0)