This commit is contained in:
Thomas Nordquist
2019-07-11 13:54:53 +02:00
parent c1e2a4c625
commit df42d75651
9 changed files with 294 additions and 246 deletions

View File

@@ -56,12 +56,7 @@ class ValueRenderer extends React.Component<Props, State> {
}
public render() {
return (
<div style={{ padding: '0px 0px 8px 8px' }}>
<ReactResizeDetector handleWidth={true} onResize={this.updateWidth} />
{this.renderValue()}
</div>
)
return <div style={{ padding: '0px 0px 8px 8px', width: '100%' }}>{this.renderValue()}</div>
}
public renderValue() {