Skip to content

Commit

Permalink
Increase block picker width
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagof committed Mar 7, 2024
1 parent 1d610bd commit f431e2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ public function form(Form $form): Form
return count($schema) === 0 ? $form : $form->schema([
Builder::make('payload')
->addActionLabel(__('Add'))
->hiddenLabel()
->columnSpanFull()
->required()
->maxItems(1)
->hiddenLabel()
->columnSpanFull()
->blockPickerWidth('xl')
->blockPickerColumns(2)
->blockNumbers(false)
->reorderable(false)
->blocks($schema),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ public function form(Form $form): Form
return count($schema) === 0 ? $form : $form->schema([
Builder::make('payload')
->addActionLabel(__('Add'))
->hiddenLabel()
->columnSpanFull()
->required()
->maxItems(1)
->hiddenLabel()
->columnSpanFull()
->blockPickerWidth('xl')
->blockPickerColumns(2)
->blockNumbers(false)
->reorderable(false)
->blocks($schema),
Expand Down

0 comments on commit f431e2b

Please sign in to comment.