adding style to fix viewport maximization (#349)

This commit is contained in:
Biharck Araujo 2019-02-07 07:14:16 -03:00 committed by Erik Ziegler
parent 5bb64fd925
commit 14c344ecb5

View File

@ -73,7 +73,7 @@ class DicomMicroscopyViewport extends Component {
{this.state.error ? (
<h2>{JSON.stringify(this.state.error)}</h2>
) : (
<div ref={this.container} />
<div style={style} ref={this.container} />
)}
</div>
);