diff --git a/src/javascript/components/Report.jsx b/src/javascript/components/Report.jsx index d672b92..4fc0391 100644 --- a/src/javascript/components/Report.jsx +++ b/src/javascript/components/Report.jsx @@ -9,20 +9,20 @@ import "bootstrap/js/dist/alert"; const Report = () => { const { id } = useParams(); - const [rows, radianceOrIrradiance, measurementLabels] = urlToRows(id); + const [selectedRows, radianceOrIrradiance, measurementLabels] = urlToRows(id); - const sampleCount = rows[0].length - 1; + const selectedRowsSampleCount = selectedRows[0].length - 1; const [isLoaded, setLoaded] = useState(true); const [refHAB, setRefHAB] = useState(null); - const powerMode = sampleCount < 6; + const powerMode = selectedRowsSampleCount < 6; return ( -
-
+
+
The reproduced spectrum has been compressed and then decompressed, so @@ -37,7 +37,7 @@ const Report = () => {
-

Light Exposure Report

+

Light Exposure Report

This report meets the{" "} @@ -51,16 +51,16 @@ const Report = () => { {powerMode && ( )}

Stimulus specification tables

{

Full spectral power distribution

diff --git a/src/stylesheets/custom.css b/src/stylesheets/custom.css index 1c6c99a..5ca16a5 100644 --- a/src/stylesheets/custom.css +++ b/src/stylesheets/custom.css @@ -333,6 +333,10 @@ .modal-lg { --bs-modal-width: 70%; } + +.mt-50 { + margin-top: 50px !important; +} @media screen and (max-width: 996px) { .upload-div, .container { max-width: 95% !important;