fixing telemetry style

This commit is contained in:
joseCorte-exe 2022-07-11 16:27:29 -03:00
parent 4401878f24
commit 664c7b32bc
2 changed files with 16 additions and 5 deletions

View File

@ -251,7 +251,7 @@ export default function Telemetria({userName, clients}: any) {
<section>
<div className='select'>
<p className='title' >Unidade</p>
<FormControl sx={{ m: 1, minWidth: 120, width: 200 }} size="small">
<FormControl sx={{ minWidth: 120, width: 200 }} size="small">
<InputLabel id="demo-select-small">Unidade</InputLabel>
<Select
labelId="demo-select-small"
@ -259,6 +259,7 @@ export default function Telemetria({userName, clients}: any) {
value={unity}
label="Unidade"
onChange={value => setUnity(value.target.value)}
sx={{height: 63, mb: 0.5}}
fullWidth
>
<MenuItem value="">
@ -284,6 +285,7 @@ export default function Telemetria({userName, clients}: any) {
value={discretization}
label="Unidade"
onChange={value => setDiscretization(value.target.value)}
sx={{height: 63, mb: 0.5}}
fullWidth
>
<MenuItem value="">
@ -309,7 +311,7 @@ export default function Telemetria({userName, clients}: any) {
renderInput={(params) => <TextField {...params}/>}
/>
</div>
<div className='select datePicker'>
<div className='select datePicker' style={{marginRight: 10}}>
<p className='title' >Data final</p>
<DesktopDatePicker
label="Date desktop"

View File

@ -171,9 +171,6 @@ export const TelemetriaView = styled.main`
input {
width: 15rem;
height: 2.5rem;
padding: 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: 400;
@ -219,6 +216,18 @@ export const TelemetriaView = styled.main`
justify-content: center;
flex-direction: column;
height: 10em;
:nth-child(1) {
label {
margin-top: 10px;
}
}
:nth-child(2) {
label {
margin-top: 10px;
}
}
}
}
`;