new modification

This commit is contained in:
Noe 2023-07-04 14:37:17 +02:00
parent 24463d23ac
commit ce5ef9b77c
1 changed files with 3 additions and 3 deletions

View File

@ -17,10 +17,11 @@ const InnovenergyTextfield = (props: I_InnovenergyTextfieldProps) => {
const theme = useTheme(); const theme = useTheme();
return ( return (
<Grid container direction="row" alignItems="center" spacing={2}> <Grid container direction="row" alignItems="center" spacing={2}>
<Grid item xs={3}> <Grid item xs={2}>
<InputLabel>{props.label}</InputLabel> <InputLabel>{props.label}</InputLabel>
</Grid> </Grid>
<Grid item xs={9}> <Grid item xs={10}>
<TextField <TextField
color="secondary" color="secondary"
id={props.id} id={props.id}
@ -35,7 +36,6 @@ const InnovenergyTextfield = (props: I_InnovenergyTextfieldProps) => {
borderRadius: 1, borderRadius: 1,
}, },
my: 0.5, my: 0.5,
borderColor: "red",
}} }}
value={props.value || ""} value={props.value || ""}
onChange={props.handleChange} onChange={props.handleChange}