fix: ellipse should use exponent (#2086)

* fix: prevent app from blowing up when snapshot modal is opened

* fix: use superscript tag to indicate ellipse is mm squared

* fix: update measurement item to allow us to specify html in MeasurementItem display text
This commit is contained in:
Danny Brown authored and GitHub committed 2020-10-05 21:45:43 -04:00
1 parent 285a188064
commit 0b80f19bfd
5 files changed
+27 -17

No files matched your search

@@ -164,7 +164,7 @@ const ViewportDownloadForm = ({
}
return (
<Typography className="mt-2 pl-1" color="error">
<Typography className="pl-1 mt-2" color="error">
{error_messages[errorType]}
</Typography>
);
@@ -276,7 +276,7 @@ const ViewportDownloadForm = ({
image.
</Typography>
<div className="mt-6 flex flex-col">
<div className="flex flex-col mt-6">
<div className="w-full mb-4">
<Input
data-cy="file-name"
@@ -331,7 +331,7 @@ const ViewportDownloadForm = ({
</div>
</div>
<div className="ml-6 w-1/4 pl-6 border-l border-secondary-dark">
<div className="w-1/4 pl-6 ml-6 border-l border-secondary-dark">
<div>
<InputLabelWrapper
sortDirection="none"
@@ -405,7 +405,7 @@ const ViewportDownloadForm = ({
/>
</div>
) : (
<div className="text-center p-8">
<div className="p-8 text-center">
<Typography>Loading Image Preview...</Typography>
</div>
)}