Fix ui glitch

This commit is contained in:
Thomas Nordquist
2019-06-24 14:07:15 +02:00
parent b714547928
commit 2536b9fff7
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ function changeAmount(props: Props) {
}
return (
<span style={{ display: 'block', marginBottom: '8px', float: 'right' }}>
<span style={{ display: 'block', textAlign: 'right' }}>
<span>
Comparing with <b>{props.nameOfCompareMessage}</b> message:&nbsp;
<span className={props.classes.additions}>

View File

@@ -165,7 +165,7 @@ class ValuePanel extends React.Component<Props, State> {
</ExpansionPanelSummary>
<ExpansionPanelDetails style={detailsStyle}>
{this.renderViewOptions()}
<div>
<div style={{ marginBottom: '-8px' }}>
<React.Suspense fallback={<div>Loading...</div>}>{this.renderValue()}</React.Suspense>
</div>
<div>