From 63db84891b99dda938cba2666e89ac0e941a539c Mon Sep 17 00:00:00 2001 From: bluefuton Date: Tue, 15 Dec 2015 11:59:31 +1100 Subject: [PATCH] Fix styling issues after rebase --- client/reader/following-edit/index.jsx | 5 ++++- client/reader/following-edit/style.scss | 27 ++++++++++--------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/client/reader/following-edit/index.jsx b/client/reader/following-edit/index.jsx index 39d3f40b4adea4..2a665893bf2fad 100644 --- a/client/reader/following-edit/index.jsx +++ b/client/reader/following-edit/index.jsx @@ -381,7 +381,10 @@ var FollowingEdit = React.createClass( { autoFocus={ true } additionalClasses="following-edit__existing-feed-search" placeholder={ searchPlaceholder } - onSearch={ this.doSearch } initialValue={ this.props.search } delaySearch={ true } ref="url-search" /> + onSearch={ this.doSearch } + initialValue={ this.props.search } + delaySearch={ true } + ref="url-search" /> { this.state.isAttemptingFollow && ! this.state.lastError ? : null } { subscriptionsToDisplay.length === 0 && this.props.search ? : diff --git a/client/reader/following-edit/style.scss b/client/reader/following-edit/style.scss index 698213f45147c5..b30ba4d311c047 100644 --- a/client/reader/following-edit/style.scss +++ b/client/reader/following-edit/style.scss @@ -1,6 +1,12 @@ .following-edit { position: relative; + &.is-adding { + .search-card { + display: none; + } + } + ul { list-style-type: none; margin: 0; @@ -129,7 +135,7 @@ } } - .noticon { + .search-open__icon { display: none; } @@ -141,14 +147,7 @@ z-index: 23; // Higher than 's z-index: 22; } - .noticon-close-alt { - top: -2px; - right: -2px; - color: $gray; - } - - .gridicons-add-outline, - .noticon-close-alt { + .gridicons-add-outline { transform: translateX( 30px ); transition: all 0.15s ease-in-out; } @@ -157,8 +156,7 @@ opacity: 1; pointer-events: auto; - .gridicons-add-outline, - .noticon-close-alt { + .gridicons-add-outline { transform: translateX( 0 ); } } @@ -200,10 +198,6 @@ margin-bottom: 11px; } } - - .reader-list-item__icon .noticon { - display: block; - } } } @@ -370,6 +364,7 @@ margin-top: 12px; } + @include breakpoint( ">660px" ) { .following-edit { .follow-button__label { @@ -381,4 +376,4 @@ margin-right: 100px; } } -} +} \ No newline at end of file