aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/main/MainPage.js1
-rw-r--r--modern/src/settings/ComputedAttributePage.js5
-rw-r--r--modern/src/settings/ServerPage.js8
-rw-r--r--modern/src/settings/UserPage.js8
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')}