From 870b11bd7024a22ff812c59fb035ebeb9c1d3791 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 21 Dec 2019 22:32:28 +0800 Subject: [PATCH] Change pagination position. screen width <= 830px. --- assets/css/home.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/assets/css/home.scss b/assets/css/home.scss index 7f6d240..d167179 100644 --- a/assets/css/home.scss +++ b/assets/css/home.scss @@ -103,6 +103,13 @@ } } +/* Hide SideBar and TOC */ +@media all and (max-width: 830px) { + .pagination { + justify-content: center; + } +} + /* Sidebar is visible */ @media all and (min-width: 831px) { .pagination { @@ -120,8 +127,4 @@ #post-list { padding-right: 0; } - - .pagination { - justify-content: center; - } } \ No newline at end of file