Skip to content

Commit

Permalink
Fix styling issues after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
bluefuton committed Dec 15, 2015
1 parent 8531782 commit 63db848
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
5 changes: 4 additions & 1 deletion client/reader/following-edit/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? <SubscriptionPlaceholder key={ 'placeholder-add-feed' } /> : null }
{ subscriptionsToDisplay.length === 0 && this.props.search ?
<NoResults text={ this.translate( 'No subscriptions match that search.' ) } /> :
Expand Down
27 changes: 11 additions & 16 deletions client/reader/following-edit/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
.following-edit {
position: relative;

&.is-adding {
.search-card {
display: none;
}
}

ul {
list-style-type: none;
margin: 0;
Expand Down Expand Up @@ -129,7 +135,7 @@
}
}

.noticon {
.search-open__icon {
display: none;
}

Expand All @@ -141,14 +147,7 @@
z-index: 23; // Higher than <Search>'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;
}
Expand All @@ -157,8 +156,7 @@
opacity: 1;
pointer-events: auto;

.gridicons-add-outline,
.noticon-close-alt {
.gridicons-add-outline {
transform: translateX( 0 );
}
}
Expand Down Expand Up @@ -200,10 +198,6 @@
margin-bottom: 11px;
}
}

.reader-list-item__icon .noticon {
display: block;
}
}
}

Expand Down Expand Up @@ -370,6 +364,7 @@
margin-top: 12px;
}


@include breakpoint( ">660px" ) {
.following-edit {
.follow-button__label {
Expand All @@ -381,4 +376,4 @@
margin-right: 100px;
}
}
}
}

0 comments on commit 63db848

Please sign in to comment.