From 0e41a37eb61f58f7308d1da4b51c8bb2f72dbc9d Mon Sep 17 00:00:00 2001 From: rhymes Date: Thu, 2 May 2019 18:53:40 +0200 Subject: [PATCH] Fix saved/unsave alignment (#2653) [ci skip] --- app/assets/stylesheets/articles.scss | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/articles.scss b/app/assets/stylesheets/articles.scss index e4f8e6d7d..4a331aa39 100644 --- a/app/assets/stylesheets/articles.scss +++ b/app/assets/stylesheets/articles.scss @@ -638,7 +638,7 @@ } .article-reading-time { position: absolute; - right: 75px; + right: 82px; bottom: 12px; font-size: 13px; padding: 6px 0px; @@ -698,10 +698,12 @@ } .bm-success { display: none; + position: relative; + top: 1px; } .bm-initial { - &:after{ - content: "SAVE"; + &:after { + content: 'SAVE'; } } &.selected { @@ -714,11 +716,12 @@ .bm-success { display: inline-block; - &:before{ - content: "SAVED"; + &:before { + content: 'SAVED'; } - &:hover:before{ - content: "UNSAVE"; + + &:hover:before { + content: 'UNSAVE'; } } } @@ -1620,4 +1623,4 @@ ); background-size: 800px 104px; position: relative; -} \ No newline at end of file +}