From 561d5a4fff7377f1593e264ef7740cf566fd841e Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 25 Oct 2015 21:35:50 +0100 Subject: [PATCH] fixed pagination extra space --- assets/scss/components/_pagination.scss | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/assets/scss/components/_pagination.scss b/assets/scss/components/_pagination.scss index 710b497f..2bcc5af8 100755 --- a/assets/scss/components/_pagination.scss +++ b/assets/scss/components/_pagination.scss @@ -1,11 +1,19 @@ .pagination { margin: 0 0 2.5rem; } -.posts.index { - margin-right: 1rem; - margin-left: 1rem; - font-size: .8rem; +.posts { - color: $gray-dark; + &.index { + font-size: .8rem; + color: $gray-dark; + } + + &.newer { + margin-right: 1rem; + } + + &.older { + margin-left: 1rem; + } }