File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ final class FormContainer extends Grid
1313
1414 private array $ only = [];
1515
16- public static function make (array |int |null $ columns = 1 ): static
16+ public static function make (array |int |null $ columns = 12 ): static
1717 {
1818 $ container = new self ($ columns );
1919
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ final class InfolistContainer extends Grid
2020
2121 private bool $ withoutSections = false ;
2222
23- public static function make (array |int |null $ columns = 1 ): static
23+ public static function make (array |int |null $ columns = 12 ): static
2424 {
2525 $ container = new self ($ columns );
2626
Original file line number Diff line number Diff line change @@ -16,11 +16,13 @@ public function create(CustomFieldSection $customFieldSection): Section|Fieldset
1616 {
1717 return match ($ customFieldSection ->type ) {
1818 CustomFieldSectionType::SECTION => Section::make ($ customFieldSection ->name )
19+ ->columns (12 )
1920 ->description ($ customFieldSection ->description ),
2021
21- CustomFieldSectionType::FIELDSET => Fieldset::make ($ customFieldSection ->name ),
22+ CustomFieldSectionType::FIELDSET => Fieldset::make ($ customFieldSection ->name )
23+ ->columns (12 ),
2224
23- CustomFieldSectionType::HEADLESS => Grid::make ($ customFieldSection ->column_span ?? 1 ),
25+ CustomFieldSectionType::HEADLESS => Grid::make ($ customFieldSection ->column_span ?? 12 ),
2426 };
2527 }
2628}
You can’t perform that action at this time.
0 commit comments