Improve settings grid display on narrow devices

This commit is contained in:
Corey 2024-04-25 22:01:51 +00:00
parent 1c719e7360
commit 16847bda59
2 changed files with 5 additions and 5 deletions

View File

@ -16,10 +16,10 @@ interface KeyValueRow {
} }
const columns: GridColDef[] = [ const columns: GridColDef[] = [
{ field: 'key', headerName: 'Key', flex: 4, align: 'right' }, { field: 'key', headerName: 'Key', align: 'right', flex: 4 },
{ field: 'rawValue', headerName: 'Raw Value', flex: 1, align: 'left' }, { field: 'rawValue', headerName: 'Raw Value', align: 'left' },
{ field: 'name', headerName: 'Name', flex: 3, align: 'right' }, { field: 'name', headerName: 'Name', align: 'right', flex: 3 },
{ field: 'value', headerName: 'Value', flex: 1, align: 'left' }, { field: 'value', headerName: 'Value', align: 'left' },
{ field: 'description', headerName: 'Description', flex: 6 }, { field: 'description', headerName: 'Description', flex: 6 },
]; ];

View File

@ -303,7 +303,7 @@ export const ServerSettingsInfo: Record<string, ServerSetting> = {
}, },
}, },
'MAIN.COFFER_MIN_ILLUSION_TIME': { 'MAIN.COFFER_MIN_ILLUSION_TIME': {
name: 'Coffer Max Illusion', name: 'Coffer Min Illusion',
description: description:
'Together with min time, determines the random range in which loot is unavailable from treasure coffers.', 'Together with min time, determines the random range in which loot is unavailable from treasure coffers.',
transform: (arg) => { transform: (arg) => {