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