From 16847bda596d87b3d6be8e6c7281669cbe1eab03 Mon Sep 17 00:00:00 2001 From: Corey Date: Thu, 25 Apr 2024 22:01:51 +0000 Subject: [PATCH] Improve settings grid display on narrow devices --- client/src/components/ServerSettingsDataGrid.tsx | 8 ++++---- client/src/data/ServerData.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/components/ServerSettingsDataGrid.tsx b/client/src/components/ServerSettingsDataGrid.tsx index 8e1a630..8696ae7 100644 --- a/client/src/components/ServerSettingsDataGrid.tsx +++ b/client/src/components/ServerSettingsDataGrid.tsx @@ -16,10 +16,10 @@ interface KeyValueRow { } const columns: GridColDef[] = [ - { field: 'key', headerName: 'Key', flex: 4, align: 'right' }, - { field: 'rawValue', headerName: 'Raw Value', flex: 1, align: 'left' }, - { field: 'name', headerName: 'Name', flex: 3, align: 'right' }, - { field: 'value', headerName: 'Value', flex: 1, align: 'left' }, + { field: 'key', headerName: 'Key', align: 'right', flex: 4 }, + { field: 'rawValue', headerName: 'Raw Value', align: 'left' }, + { field: 'name', headerName: 'Name', align: 'right', flex: 3 }, + { field: 'value', headerName: 'Value', align: 'left' }, { field: 'description', headerName: 'Description', flex: 6 }, ]; diff --git a/client/src/data/ServerData.tsx b/client/src/data/ServerData.tsx index 19674bd..fca76f7 100644 --- a/client/src/data/ServerData.tsx +++ b/client/src/data/ServerData.tsx @@ -303,7 +303,7 @@ export const ServerSettingsInfo: Record = { }, }, 'MAIN.COFFER_MIN_ILLUSION_TIME': { - name: 'Coffer Max Illusion', + name: 'Coffer Min Illusion', description: 'Together with min time, determines the random range in which loot is unavailable from treasure coffers.', transform: (arg) => {