Skip to content

Commit

Permalink
fix(orchestrator): fix dropdown look (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
caponetto authored Mar 17, 2024
1 parent caf5201 commit 9284299
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions plugins/orchestrator/src/components/Selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const useStyles = makeStyles(theme => ({
'& label + div': {
marginTop: '0px',
},
'& select': {
width: '7rem',
},
},
select: {
width: '10rem',
},
label: {
color: theme.palette.text.primary,
Expand Down Expand Up @@ -53,14 +53,15 @@ export const Selector = ({
return (
<div className={styles.root}>
<Typography className={styles.label}>{otherProps.label}</Typography>
<Select
onChange={handleChange}
items={selectItems}
selected={otherProps.selected}
margin="dense"
native
label={otherProps.label}
/>
<div className={styles.select}>
<Select
onChange={handleChange}
items={selectItems}
selected={otherProps.selected}
margin="dense"
label={otherProps.label}
/>
</div>
</div>
);
};
Expand Down

0 comments on commit 9284299

Please sign in to comment.