From dfbb16521c9d10cd491429874660bfdde3e19e1d Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Fri, 23 Jun 2017 07:28:04 +0500 Subject: Minor bug and UI fixes (#6729) * PLT-6797 - Code block language tag not selectable * PLT-6771 - Aligning search box with RHS * PLT-6827 - Fixing link color in error bar * PLT-6241 - Adding edge detection --- webapp/sass/components/_error-bar.scss | 14 +++++--------- webapp/sass/components/_search.scss | 19 ++++++++++++------- 2 files changed, 17 insertions(+), 16 deletions(-) (limited to 'webapp/sass/components') diff --git a/webapp/sass/components/_error-bar.scss b/webapp/sass/components/_error-bar.scss index 765b61ba8..06a35df40 100644 --- a/webapp/sass/components/_error-bar.scss +++ b/webapp/sass/components/_error-bar.scss @@ -18,17 +18,13 @@ } a { - color: $white; + color: inherit !important; text-decoration: underline; - .app__body & { - color: $white; - - &:hover, - &:active, - &:focus { - color: $white; - } + &:hover, + &:active, + &:focus { + color: inherit !important; } &.error-bar__close { diff --git a/webapp/sass/components/_search.scss b/webapp/sass/components/_search.scss index 460507d1b..c25915252 100644 --- a/webapp/sass/components/_search.scss +++ b/webapp/sass/components/_search.scss @@ -8,7 +8,13 @@ .search-bar__container { @include flex(0 0 56px); - padding: 12px 8px 0 0; + padding: 12px 5px 0 0; + + .channel-header__links { + .sidebar--right & { + line-height: 25px; + } + } } .icon--rotate { @@ -54,13 +60,13 @@ .sidebar__search-clear { @include opacity(.5); color: $dark-gray; - width: 40px; + cursor: pointer; margin-right: 20px; position: absolute; - top: 12px; right: 0; - cursor: pointer; + top: 12px; visibility: hidden; + width: 40px; } .search__form { @@ -74,10 +80,9 @@ } .sidebar--right & { - width: 300px; float: left; - margin-left: 17px; - margin-right: 9px; + margin-right: 7px; + width: 325px; } .search-bar { -- cgit v1.2.3-1-g7c22