1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00

fix(web): reduced width for autoexec input

This commit is contained in:
Saad Jutt
2022-05-26 19:48:59 +05:00
parent ff1def6436
commit 7d11cc7916
2 changed files with 15 additions and 15 deletions

View File

@@ -153,7 +153,7 @@ const Header = (props: any) => {
color="primary"
startIcon={<SettingsIcon />}
>
Setting
Settings
</Button>
</MenuItem>
<MenuItem onClick={handleLogout} sx={{ justifyContent: 'center' }}>

View File

@@ -14,9 +14,9 @@ import {
FormControlLabel,
Checkbox
} from '@mui/material'
import { toast } from 'react-toastify'
import { AppContext } from '../../context/appContext'
import { toast } from 'react-toastify'
const Profile = () => {
const [isLoading, setIsLoading] = useState(false)
@@ -106,6 +106,19 @@ const Profile = () => {
/>
</Grid>
<Grid item lg={6} md={8} sm={12} xs={12}>
<TextField
fullWidth
label="autoExec"
name="autoExec"
onChange={handleChange}
multiline
rows="10"
value={user.autoExec}
variant="outlined"
/>
</Grid>
<Grid item xs={6}>
<FormGroup row>
<FormControlLabel
@@ -120,19 +133,6 @@ const Profile = () => {
/>
</FormGroup>
</Grid>
<Grid item xs={12}>
<TextField
fullWidth
label="autoExec"
name="autoExec"
onChange={handleChange}
multiline
rows="4"
value={user.autoExec}
variant="outlined"
/>
</Grid>
</Grid>
</CardContent>
<Divider />