diff --git a/packages/website/src/components/SettingsDialog/index.module.css b/packages/website/src/components/SettingsDialog/index.module.css index 3f5fb3f97..315794415 100644 --- a/packages/website/src/components/SettingsDialog/index.module.css +++ b/packages/website/src/components/SettingsDialog/index.module.css @@ -9,3 +9,10 @@ justify-content: space-between; gap: var(--space-3); } + +/* Every row matches the tallest one, so switch rows line up with select rows */ +.rows { + display: grid; + grid-auto-rows: 1fr; + gap: var(--space-3); +} diff --git a/packages/website/src/components/SettingsDialog/index.tsx b/packages/website/src/components/SettingsDialog/index.tsx index 1aa31b8d5..e862e1d9e 100644 --- a/packages/website/src/components/SettingsDialog/index.tsx +++ b/packages/website/src/components/SettingsDialog/index.tsx @@ -44,92 +44,94 @@ export const SettingsDialog = withLocale( -
- {strings.settings.language} - -
+
+
+ {strings.settings.language} + +
-
- {strings.settings.reduce_motion.title} +
+ {strings.settings.reduce_motion.title} - { - App.mutate((draft) => { - draft.reduceMotion = Number(value); - }); - }} - > - - + { + App.mutate((draft) => { + draft.reduceMotion = Number(value); + }); + }} + > + + - - - - + + + + - - - - - - - + + + + + + + - - {strings.settings.device_preference} - - + + {strings.settings.device_preference} + + - + - - - - + + + + - - {strings.settings.reduce_motion.on} - - + + {strings.settings.reduce_motion.on} + + - - - - + + + + - - {strings.settings.reduce_motion.off} - - - - - - -
+ + {strings.settings.reduce_motion.off} + + + + + + +
-
- {strings.settings.auto_load_models} - { - App.mutate((draft) => { - draft.autoLoadModels = checked; - }); - }} - /> -
+
+ {strings.settings.auto_load_models} + { + App.mutate((draft) => { + draft.autoLoadModels = checked; + }); + }} + /> +
-
- {strings.settings.developer_mode} - { - App.mutate((draft) => { - draft.developerMode = checked; - }); - }} - /> +
+ {strings.settings.developer_mode} + { + App.mutate((draft) => { + draft.developerMode = checked; + }); + }} + /> +