mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 01:16:18 -05:00
Reworking StlViewer size so that it is no longer cropped by the window.
This commit is contained in:
parent
f555855b15
commit
29133b1e56
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ function STLPreviewModal({previewFile}) {
|
|||
<InlineErrorBoundary>
|
||||
<StlViewer orbitControls shadows
|
||||
url={url}
|
||||
style={{height: '80vw', width: '80vw'}}
|
||||
style={{height: '65vh', width: '100%'}}
|
||||
modelProps={{color: '#7353a8'}}
|
||||
onFinishLoading={(dims) => setDimensions(dims)}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue