Using split in an infolist is not spanning browser width.

See screenshot, for some reason the first section of my split component doesn't grow.

On my panel provider I use max width ->maxContentWidth(MaxWidth::Full)

Here is my infolist schema:

return $infolist
            ->schema([
                Split::make([
                    Section::make('General')
                        ->description('Name and address information')
                        ->columns(2)
                        ->schema([
                            TextEntry::make('name_and_address_id')
                                ->label('ID'),
                            TextEntry::make('name')
                                ->label('Name'),
                            TextEntry::make('long_name')
                                ->label('Extended name'),
                            TextEntry::make('address_lines')
                                ->label('Address')
                                ->listWithLineBreaks(),
                            TextEntry::make('city')
                                ->label('City'),
                            TextEntry::make('province')
                                ->label('Province'),
                            TextEntry::make('country_code')
                                ->label('Country'),
                            TextEntry::make('zip_postal_code')
                                ->label('Postal'),
                        ]),
                    Section::make([
                        TextEntry::make('add_date')->label('Created')->dateTime(),
                        TextEntry::make('change_date')->label('Updated')->dateTime(),
                    ])->grow(false),
                ])->from('md'),
            ]);
CleanShot_2024-03-04_at_16.50.24.png
Was this page helpful?