From 2cbe82e4981eece936597fa13c9ffae769bc112b Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Fri, 3 Oct 2025 15:04:35 -0600 Subject: [PATCH] Adjust variable editor layout --- .../WebUI/src/Assemblies/Assembly_Editor.jsx | 59 +++++++++++++------ 1 file changed, 41 insertions(+), 18 deletions(-) diff --git a/Data/Server/WebUI/src/Assemblies/Assembly_Editor.jsx b/Data/Server/WebUI/src/Assemblies/Assembly_Editor.jsx index f9dc7ce..f64f631 100644 --- a/Data/Server/WebUI/src/Assemblies/Assembly_Editor.jsx +++ b/Data/Server/WebUI/src/Assemblies/Assembly_Editor.jsx @@ -902,8 +902,15 @@ export default function AssemblyEditor({ key={variable.id} sx={{ p: 2, bgcolor: BACKGROUND_COLORS.field, border: "1px solid #2b3544", borderRadius: 1 }} > - - + + - - + + - - + + {opt.label} ))} - - + + {variable.type === "boolean" ? ( } label="Default Value" + sx={{ + color: "#9ba3b4", + m: 0, + "& .MuiFormControlLabel-label": { fontSize: "0.95rem" } + }} /> ) : ( )} - - + + - - + + updateVariable(variable.id, { description: e.target.value })} fullWidth - multiline - minRows={2} variant="outlined" sx={INPUT_BASE_SX} /> - - + + removeVariable(variable.id)} sx={{ color: "#ff6b6b" }}> - - + + ))}