Skip to content

Commit

Permalink
chore: tidy config form style (#1578)
Browse files Browse the repository at this point in the history
This change improves the legibility of the user config form.

Styling for the user/app config was inconsistent across items, making
the config menu difficult to read.
  • Loading branch information
akshayka committed Jun 8, 2024
1 parent 19dc4b0 commit efdc0d6
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 108 deletions.
8 changes: 5 additions & 3 deletions frontend/src/components/app-config/app-config-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ export const AppConfigForm: React.FC = () => {
control={form.control}
name="width"
render={({ field }) => (
<FormItem>
<FormItem
className={"flex flex-row items-center space-x-1 space-y-0"}
>
<FormLabel>Width</FormLabel>
<FormControl>
<NativeSelect
Expand All @@ -89,8 +91,8 @@ export const AppConfigForm: React.FC = () => {
name="app_title"
render={({ field }) => (
<div className="flex flex-col gap-y-1">
<FormItem className="mb-2">
<FormLabel>Application title</FormLabel>
<FormItem className="flex flex-row items-center space-x-1 space-y-0">
<FormLabel>App title</FormLabel>
<FormControl>
<Input
{...field}
Expand Down
Loading

0 comments on commit efdc0d6

Please sign in to comment.