Reworking StlViewer size so that it is no longer cropped by the window.

This commit is contained in:
Roland 2026-04-15 12:53:27 -06:00
parent f555855b15
commit 29133b1e56
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -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)}
/>