From 6635265701b2955903829a8bd66571ce7e3db322 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Sat, 10 Dec 2016 17:04:30 +0200 Subject: [PATCH] linter fixes --- app/components/BookBuilder/styles/bookBuilder.local.scss | 4 +++- app/components/SimpleEditor/panes/Comments/CommentBox.js | 3 ++- .../SimpleEditor/panes/Comments/commentsPane.scss | 8 +++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/components/BookBuilder/styles/bookBuilder.local.scss b/app/components/BookBuilder/styles/bookBuilder.local.scss index 664ce9a..0f75b4f 100644 --- a/app/components/BookBuilder/styles/bookBuilder.local.scss +++ b/app/components/BookBuilder/styles/bookBuilder.local.scss @@ -83,9 +83,11 @@ $white: #fff; font-weight: 500; padding: 0; position: relative; + &:hover { - background: transparent!important; + background: transparent !important; } + button { float: left; position: relative; diff --git a/app/components/SimpleEditor/panes/Comments/CommentBox.js b/app/components/SimpleEditor/panes/Comments/CommentBox.js index 283a309..80b7c62 100644 --- a/app/components/SimpleEditor/panes/Comments/CommentBox.js +++ b/app/components/SimpleEditor/panes/Comments/CommentBox.js @@ -72,7 +72,8 @@ class CommentBox extends Component { const inputBox = $$('div').addClass('sc-new-comment') .append(textarea, reply, resolve) - box.addClass('sc-comment-active') + box + .addClass('sc-comment-active') .append(inputBox) } diff --git a/app/components/SimpleEditor/panes/Comments/commentsPane.scss b/app/components/SimpleEditor/panes/Comments/commentsPane.scss index e374ef6..4deca41 100644 --- a/app/components/SimpleEditor/panes/Comments/commentsPane.scss +++ b/app/components/SimpleEditor/panes/Comments/commentsPane.scss @@ -26,9 +26,11 @@ $white: #fff; position: absolute; word-wrap: break-word; z-index: 0; + .sc-new-comment { margin: 5px 10px 5px 5px; } + textarea { background-color: $gray; border: 1px solid $dark-gray; @@ -48,14 +50,14 @@ $white: #fff; border: 0; border-radius: 50%; color: $white; + float: right; height: 25px; margin-bottom: 5px; - float: right; + position: relative; + right: -4px; text-align: center; transition: .2s; width: 25px; - position: relative; - right: -4px; &:disabled { background-color: $shadow-gray; -- GitLab