diff --git a/components/details/CO2GalvoDetail.tsx b/components/details/CO2GalvoDetail.tsx index 1d807843..b7cf3a42 100644 --- a/components/details/CO2GalvoDetail.tsx +++ b/components/details/CO2GalvoDetail.tsx @@ -253,31 +253,31 @@ export default function CO2GalvoDetail({ id, editable }: { id: string | number; {rec.setting_notes ? {rec.setting_notes}

} /> : null} - {/* Images (full width, click to expand) */} + {/* Images (full width, click to expand, ~75% smaller) */} {(photoSrc || screenSrc) && (
{photoSrc ? ( -
+
setViewerSrc(photoSrc)} > Result
-
Result
+
Result
) : null} {screenSrc ? ( -
+
setViewerSrc(screenSrc)} > Settings Screenshot
-
Settings Screenshot
+
Settings Screenshot
) : null}
@@ -296,7 +296,6 @@ export default function CO2GalvoDetail({ id, editable }: { id: string | number;

Fill Settings

- {rec.fill_settings!.map((r: any, i: number) => ( -
-
{r.name || `Fill ${i + 1}`}
-
- - - - - - - - - - - - - -
-
- ))} + {rec.fill_settings!.map((r: any, i: number) => { + const showIncrement = !!r.auto; + return ( +
+
{r.name || `Fill ${i + 1}`}
+
+ + + + + + + + + + {showIncrement && } + + + +
+
+ ); + })}
)} @@ -358,10 +360,10 @@ export default function CO2GalvoDetail({ id, editable }: { id: string | number;
{r.name || `Line ${i + 1}`}
- - - - + + + + @@ -387,12 +389,12 @@ export default function CO2GalvoDetail({ id, editable }: { id: string | number;
- - + + - - + + {!!r.halftone_cell && } {!!r.halftone_angle && }