new modification
This commit is contained in:
parent
24463d23ac
commit
ce5ef9b77c
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue