fix(DICOM Upload): Decreased the minimum height for the upload dialog contents to better fit some laptops. (#3347)

This commit is contained in:
Joe Boccanfuso 2023-05-02 09:24:53 -04:00 committed by GitHub
parent 89936a5b50
commit 0f85b1a681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ function DicomUpload({
onComplete, onComplete,
onStarted, onStarted,
}: DicomUploadProps): ReactElement { }: DicomUploadProps): ReactElement {
const baseClassNames = 'min-h-[520px] flex flex-col bg-black select-none'; const baseClassNames = 'min-h-[480px] flex flex-col bg-black select-none';
const [dicomFileUploaderArr, setDicomFileUploaderArr] = useState([]); const [dicomFileUploaderArr, setDicomFileUploaderArr] = useState([]);
const onDrop = useCallback(async acceptedFiles => { const onDrop = useCallback(async acceptedFiles => {
@ -99,7 +99,7 @@ function DicomUpload({
/> />
</div> </div>
) : ( ) : (
<div className={classNames('h-[520px]', baseClassNames)}> <div className={classNames('h-[480px]', baseClassNames)}>
{getDropZoneComponent()} {getDropZoneComponent()}
</div> </div>
)} )}