diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-23 17:42:24 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-23 17:42:24 -0700 |
commit | f9919a8d40d0d3ffa440319093968e2f72b1ca2a (patch) | |
tree | a0ba912286900662d1d7102629eebb31ddd9a43b /modern | |
parent | b5353b73e8d836c016233bf73676b03146d6f192 (diff) | |
download | trackermap-web-f9919a8d40d0d3ffa440319093968e2f72b1ca2a.tar.gz trackermap-web-f9919a8d40d0d3ffa440319093968e2f72b1ca2a.tar.bz2 trackermap-web-f9919a8d40d0d3ffa440319093968e2f72b1ca2a.zip |
Remove unnecessary
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/main/MainPage.js | 1 | ||||
-rw-r--r-- | modern/src/settings/ComputedAttributePage.js | 5 | ||||
-rw-r--r-- | modern/src/settings/ServerPage.js | 8 | ||||
-rw-r--r-- | modern/src/settings/UserPage.js | 8 |
4 files changed, 9 insertions, 13 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js index 059d7043..e0d62d6c 100644 --- a/modern/src/main/MainPage.js +++ b/modern/src/main/MainPage.js @@ -172,7 +172,6 @@ const MainPage = () => { </IconButton> )} <TextField - fullWidth name="searchKeyword" value={searchKeyword} autoComplete="searchKeyword" diff --git a/modern/src/settings/ComputedAttributePage.js b/modern/src/settings/ComputedAttributePage.js index da92ad80..67651fce 100644 --- a/modern/src/settings/ComputedAttributePage.js +++ b/modern/src/settings/ComputedAttributePage.js @@ -95,10 +95,7 @@ const ComputedAttributePage = () => { multiline rows={4} /> - <FormControl - fullWidth - disabled={key in positionAttributes} - > + <FormControl disabled={key in positionAttributes}> <InputLabel>{t('sharedType')}</InputLabel> <Select label={t('sharedType')} diff --git a/modern/src/settings/ServerPage.js b/modern/src/settings/ServerPage.js index 6adf58fd..25b71e37 100644 --- a/modern/src/settings/ServerPage.js +++ b/modern/src/settings/ServerPage.js @@ -113,7 +113,7 @@ const ServerPage = () => { onChange={(event) => setItem({ ...item, zoom: Number(event.target.value) })} label={t('serverZoom')} /> - <FormControl fullWidth> + <FormControl> <InputLabel>{t('settingsCoordinateFormat')}</InputLabel> <Select label={t('settingsCoordinateFormat')} @@ -125,7 +125,7 @@ const ServerPage = () => { <MenuItem value="dms">{t('sharedDegreesMinutesSeconds')}</MenuItem> </Select> </FormControl> - <FormControl fullWidth> + <FormControl> <InputLabel>{t('settingsSpeedUnit')}</InputLabel> <Select label={t('settingsSpeedUnit')} @@ -137,7 +137,7 @@ const ServerPage = () => { <MenuItem value="mph">{t('sharedMph')}</MenuItem> </Select> </FormControl> - <FormControl fullWidth> + <FormControl> <InputLabel>{t('settingsDistanceUnit')}</InputLabel> <Select label={t('settingsDistanceUnit')} @@ -149,7 +149,7 @@ const ServerPage = () => { <MenuItem value="nmi">{t('sharedNmi')}</MenuItem> </Select> </FormControl> - <FormControl fullWidth> + <FormControl> <InputLabel>{t('settingsVolumeUnit')}</InputLabel> <Select label={t('settingsVolumeUnit')} diff --git a/modern/src/settings/UserPage.js b/modern/src/settings/UserPage.js index ece177df..062fada6 100644 --- a/modern/src/settings/UserPage.js +++ b/modern/src/settings/UserPage.js @@ -133,7 +133,7 @@ const UserPage = () => { onChange={(event) => setItem({ ...item, zoom: Number(event.target.value) })} label={t('serverZoom')} /> - <FormControl fullWidth> + <FormControl> <InputLabel>{t('settingsCoordinateFormat')}</InputLabel> <Select label={t('settingsCoordinateFormat')} @@ -145,7 +145,7 @@ const UserPage = () => { <MenuItem value="dms">{t('sharedDegreesMinutesSeconds')}</MenuItem> </Select> </FormControl> - <FormControl fullWidth> + <FormControl> <InputLabel>{t('settingsSpeedUnit')}</InputLabel> <Select label={t('settingsSpeedUnit')} @@ -157,7 +157,7 @@ const UserPage = () => { <MenuItem value="mph">{t('sharedMph')}</MenuItem> </Select> </FormControl> - <FormControl fullWidth> + <FormControl> <InputLabel>{t('settingsDistanceUnit')}</InputLabel> <Select label={t('settingsDistanceUnit')} @@ -169,7 +169,7 @@ const UserPage = () => { <MenuItem value="nmi">{t('sharedNmi')}</MenuItem> </Select> </FormControl> - <FormControl fullWidth> + <FormControl> <InputLabel>{t('settingsVolumeUnit')}</InputLabel> <Select label={t('settingsVolumeUnit')} |