Skip to content

Commit

Permalink
add label to config selection, increase margins
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Apr 17, 2024
1 parent 8973115 commit cb94b11
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export default function OutputComparisonChart(props) {

{ displayCategory &&
<>
<InputLabel sx={{marginTop:1}} id="Parameter-Selection-label">Chart Category&nbsp;</InputLabel>
<InputLabel sx={{marginTop:10}} id="Parameter-Selection-label">Chart Category&nbsp;</InputLabel>
<FormControl>
<Select
labelId="Parameter-Selection-label"
Expand Down Expand Up @@ -322,10 +322,13 @@ export function ConfigSelect(props) {
}

return (
<FormGroup onChange={handleSelect}>
{historyData.map((v, idx) => (
<FormControlLabel key={`${v}_${idx}`} name={v.name} control={<Checkbox checked={selectedConfigNames.includes(v.name)}/>} label={v.name} />
))}
</FormGroup>
<>
<InputLabel sx={{marginTop:10}} id="Config-Selection-label">Config Selection&nbsp;</InputLabel>
<FormGroup onChange={handleSelect}>
{historyData.map((v, idx) => (
<FormControlLabel key={`${v}_${idx}`} name={v.name} control={<Checkbox checked={selectedConfigNames.includes(v.name)}/>} label={v.name} />
))}
</FormGroup>
</>
);
}

0 comments on commit cb94b11

Please sign in to comment.