💄(initial-sync): Move "hide" to the top of the expanded progress

Summary: Fixes T7442

Test Plan: tested locally

Reviewers: evan, jackie

Reviewed By: jackie

Maniphest Tasks: T7442

Differential Revision: https://phab.nylas.com/D3640
This commit is contained in:
Halla Moore 2017-01-11 14:39:10 -08:00
parent 668c2935c9
commit 0b8e8fa6d9
2 changed files with 7 additions and 3 deletions

View file

@ -93,8 +93,10 @@ export default class InitialSyncActivity extends React.Component {
key="expanded-sync-state"
style={{maxHeight: `${maxHeight + 500}px`}}
>
<a className="close-expanded" onClick={this.hideExpandedState}>
<span style={{cursor: "pointer"}}>Hide</span>
</a>
{accounts}
<a className="close-expanded" onClick={this.hideExpandedState}>Hide</a>
</div>
)
}

View file

@ -65,7 +65,7 @@
}
&.expanded-sync {
.account.inner {
border-top: 1px solid rgba(0,0,0,0.1)
border-bottom: 1px solid rgba(0,0,0,0.1)
}
}
h2 {
@ -86,7 +86,9 @@
}
.close-expanded {
display: block;
margin: 0 @padding-base-horizontal @padding-large-vertical @padding-base-horizontal;
text-align: right;
border-top: 1px solid rgba(0,0,0,0.1);
padding: @padding-large-vertical @padding-base-horizontal 0 @padding-base-horizontal;
}
.complete .progress-track .progress {