From 1808cafea6606533dd21b3e4a8d80d68262370e8 Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Sun, 28 Jan 2018 23:09:20 +0200 Subject: [PATCH] add spaces around score --- .../components/comment/__score-sign/comment__score-sign.scss | 1 - .../comment/__vote/_type/_down/comment__vote_type_down.scss | 3 +++ .../comment/__vote/_type/_up/comment__vote_type_up.scss | 1 + web/app/components/comment/comment.scss | 2 +- web/app/components/comment/index.js | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 web/app/components/comment/__vote/_type/_down/comment__vote_type_down.scss diff --git a/web/app/components/comment/__score-sign/comment__score-sign.scss b/web/app/components/comment/__score-sign/comment__score-sign.scss index e4bf6c80..d5770a3f 100644 --- a/web/app/components/comment/__score-sign/comment__score-sign.scss +++ b/web/app/components/comment/__score-sign/comment__score-sign.scss @@ -1,4 +1,3 @@ .comment__score-sign { font-size: 14px; - vertical-align: 1px; } diff --git a/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.scss b/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.scss new file mode 100644 index 00000000..9ed0ddb4 --- /dev/null +++ b/web/app/components/comment/__vote/_type/_down/comment__vote_type_down.scss @@ -0,0 +1,3 @@ +.comment__vote_type_down { + margin-left: 4px; +} diff --git a/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.scss b/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.scss index 4c296261..b09ea2d8 100644 --- a/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.scss +++ b/web/app/components/comment/__vote/_type/_up/comment__vote_type_up.scss @@ -1,3 +1,4 @@ .comment__vote_type_up { transform: scale(1, -1); + margin-right: 4px; } diff --git a/web/app/components/comment/comment.scss b/web/app/components/comment/comment.scss index e049067f..5077aa31 100644 --- a/web/app/components/comment/comment.scss +++ b/web/app/components/comment/comment.scss @@ -6,5 +6,5 @@ overflow: hidden; margin-bottom: $offset; font-size: 16px; - line-height: 20px; + line-height: 1.2; } diff --git a/web/app/components/comment/index.js b/web/app/components/comment/index.js index 883c12cd..ed1a8f65 100644 --- a/web/app/components/comment/index.js +++ b/web/app/components/comment/index.js @@ -13,6 +13,7 @@ require('./__username/comment__username.scss'); require('./__vote/comment__vote.scss'); require('./__vote/_selected/comment__vote_selected.scss'); +require('./__vote/_type/_down/comment__vote_type_down.scss'); require('./__vote/_type/_up/comment__vote_type_up.scss'); require('./_level/comment_level.scss');