FilamentF
Filament16mo ago
Matthew

Column margin\padding

Can anyone tell me what is driving this whitespace on this infolist slideover, and whether I can easily address it:

Here is the corresponding code:

class DetailsInfolist extends Infolist
{
    public static function getInfolistSchema() : array
    {

        return [

            Grid::make(1)
                ->columns(1)
                ->columnSpanFull()
                ->schema([

                    RepeatableEntry::make('checks')
                        ->label('')
                        ->placeholder('No ID Documents Validated')
                        ->columnSpanFull()
                        ->columns(2)
                        ->schema([
                            TextEntry::make('document.idd_title')
                                ->label('')
                                ->columnSpanFull()
                                ->inLineLabel()
                                ->weight(FontWeight::ExtraBold),

                            TextEntry::make('idc_document_date')
                                ->label('Document Date:')
                                ->dateTime(Date::FORMAT_DATE_HUMAN)
                                ->placeholder('N/A')
                                ->columnSpan(1)
                                ->weight(FontWeight::Bold)
                                ->inLineLabel(),

                            IconEntry::make('idc_validates_address')
                                ->label('Validates Address:')
                                ->inLineLabel()
                                ->columnSpan(1)
                                ->boolean(),
                        ]),
                ]),
        ];
    }
}

Thanks for reading.
image.png
Was this page helpful?