From 74f731ceea56557a0f9d5f01d5292861bd71399a Mon Sep 17 00:00:00 2001 From: Cadence Fish Date: Wed, 11 Mar 2020 23:17:40 +1300 Subject: [PATCH] Remove post navigation arrow inline style --- src/site/pug/includes/post.pug | 6 +++--- src/site/sass/main.sass | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/site/pug/includes/post.pug b/src/site/pug/includes/post.pug index 8c91923..4da5b23 100644 --- a/src/site/pug/includes/post.pug +++ b/src/site/pug/includes/post.pug @@ -12,9 +12,9 @@ mixin post(post, headerWithNavigation) else = `@${post.getBasicOwner().username}` if headerWithNavigation - button.navigate-posts.previous - img(src="/static/img/arrow-circled.svg" alt="Previous post." style="transform: rotate(180deg)").icon - button.navigate-posts.next + button.navigate-posts + img(src="/static/img/arrow-circled.svg" alt="Previous post.").icon.previous + button.navigate-posts img(src="/static/img/arrow-circled.svg" alt="Next post.").icon div.relative-box div.scrolling-box diff --git a/src/site/sass/main.sass b/src/site/sass/main.sass index 4649949..2cf5d26 100644 --- a/src/site/sass/main.sass +++ b/src/site/sass/main.sass @@ -269,6 +269,9 @@ body .icon display: block + &.previous + transform: rotate(180deg) + .user-header-inner grid-row: 1 grid-column: 2