From f35ecc75b09d01baa6410b7784ba4bc6df68fec2 Mon Sep 17 00:00:00 2001 From: Vyrtsev Mikhail Date: Mon, 7 Jan 2019 23:48:56 +0300 Subject: [PATCH] show post title in user comments sidebar #241: post-review --- .../comment/__title/comment__title.scss | 17 ----------------- .../comment/_view/_user/comment_view_user.scss | 18 ++++++++++++++++++ web/app/components/comment/index.js | 1 - 3 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 web/app/components/comment/__title/comment__title.scss diff --git a/web/app/components/comment/__title/comment__title.scss b/web/app/components/comment/__title/comment__title.scss deleted file mode 100644 index 3b3129d2..00000000 --- a/web/app/components/comment/__title/comment__title.scss +++ /dev/null @@ -1,17 +0,0 @@ -.comment__title { - margin-bottom: 0.2rem; - - &-link { - color: #0e7e9d; - font-weight: bold; - text-decoration: none; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - display: block; - - &:hover { - opacity: 0.75; - } - } -} diff --git a/web/app/components/comment/_view/_user/comment_view_user.scss b/web/app/components/comment/_view/_user/comment_view_user.scss index 85547936..5428e144 100644 --- a/web/app/components/comment/_view/_user/comment_view_user.scss +++ b/web/app/components/comment/_view/_user/comment_view_user.scss @@ -5,4 +5,22 @@ display: block; } } + + .comment__title { + margin-bottom: 0.2rem; + } + + .comment__title-link { + color: #0e7e9d; + font-weight: bold; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + display: block; + + &:hover { + opacity: 0.75; + } + } } diff --git a/web/app/components/comment/index.js b/web/app/components/comment/index.js index d1472897..deb63a1b 100644 --- a/web/app/components/comment/index.js +++ b/web/app/components/comment/index.js @@ -21,7 +21,6 @@ require('./__control/_select-label/comment__control_select-label.scss'); require('./__control/_view/_inactive/comment__control_view_inactive.scss'); require('./__controls/comment__controls.scss'); -require('./__title/comment__title.scss'); require('./__info/comment__info.scss'); require('./__input/comment__input.scss'); require('./__link-to-parent/comment__link-to-parent.scss');