Sync gate: better position the loading indicator.

master
Tom Hacohen 7 years ago
parent eafdb02d5c
commit 73ab88d3d2

@ -118,7 +118,7 @@ class SyncGate extends React.PureComponent {
if ((journals === null) ||
(entryArrays.size === 0) ||
!entryArrays.every((x: any) => (x.value !== null))) {
return (<LoadingIndicator />);
return (<LoadingIndicator style={{display: 'block', margin: '40px auto'}} />);
}
const journalMap = syncInfoSelector(this.props);

Loading…
Cancel
Save