#`Grid` vertical grow?

6 messages · Page 1 of 1 (latest)

feral canopy
#

Good afternoon,
I am quite new to Filament and was wondering if there is a vertical grow parameter / possibility for the Grid component, currently I have a grid with 2 columns which includes a large amount of variable Section components, I am trying to make all sections in each row full weight, so that section height can't differ within rows. I tried giving the h-full class to the section components but that didn't seem to work.

stark scaffoldBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

final karma
#

Grid of two, then group left an right, each group with sections will be without gap

feral canopy
final karma
#

I think, its realisable..

return $schema
    ->components([
        Grid::make()
            ->schema([
                Group::make()
                    ->schema([
                        // left
                        Section::make('Basic Information')
                            ->columns(4)
                            ->schema([
                                //
                            ]),

                        // left
                        Section::make('Social Media & User')
                            ->schema([
                                //
                            ]),
                    ]),
                Group::make()
                    ->schema([
                        // right
                        Section::make('Content')
                            ->schema([
                                //
                            ]),
                        // right
                        Section::make('Person Information')
                            ->schema([
                                //
                            ]),
                    ]),
            ])
            ->columnSpanFull(),
    ]);
feral canopy