mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
💄(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:
parent
668c2935c9
commit
0b8e8fa6d9
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue