Skip to content

Commit

Permalink
Merge pull request #88 from bleu/full-width
Browse files Browse the repository at this point in the history
Color picker and file upload as full width
  • Loading branch information
luizakp authored Jul 17, 2024
2 parents 746490d + 0b0f67e commit daa2c59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/FormBuilder/fields/FileUploadField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const FileUploadField = withConditional<FileUploadFieldProps>(
name={field.name}
rules={field.required ? { required: true } : undefined}
render={({ field: formField }) => (
<FormItem>
<FormItem className="w-full">
<FormLabel tooltip={field.tooltip}>{field.label}</FormLabel>
<FormDescription>{field.description}</FormDescription>
<FormControl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const ColorPickerField = withConditional<ColorPickerFieldProps>(
name={field.name}
defaultValue={color}
render={({ field: formField }) => (
<FormItem className="grid grid-flow-row auto-rows-min content-end">
<FormItem className="grid grid-flow-row auto-rows-min content-end w-full">
<FormLabel tooltip={field.tooltip}>{field.label}</FormLabel>
<FormDescription>{field.description}</FormDescription>
<div
Expand Down

0 comments on commit daa2c59

Please sign in to comment.