77use Filament \Actions ;
88use Filament \Infolists ;
99use Filament \Resources \Resource ;
10+ use Filament \Schemas ;
1011use Filament \Schemas \Schema ;
1112use Filament \Tables ;
1213use Filament \Tables \Table ;
@@ -37,8 +38,12 @@ public static function canCreate(): bool
3738 public static function infolist (Schema $ schema ): Schema
3839 {
3940 return $ schema
41+ ->inlineLabel ()
42+ ->columns (1 )
4043 ->schema ([
41- Infolists \Components \Section::make ('Donation Details ' )
44+ Schemas \Components \Section::make ('Donation Details ' )
45+ ->inlineLabel ()
46+ ->columns (1 )
4247 ->schema ([
4348 Infolists \Components \TextEntry::make ('order_id ' )
4449 ->label ('Order ID ' )
@@ -53,8 +58,10 @@ public static function infolist(Schema $schema): Schema
5358 Infolists \Components \TextEntry::make ('created_at ' )
5459 ->label ('Received ' )
5560 ->dateTime (),
56- ])->columns (2 ),
57- Infolists \Components \Section::make ('Contributor ' )
61+ ]),
62+ Schemas \Components \Section::make ('Contributor ' )
63+ ->inlineLabel ()
64+ ->columns (1 )
5865 ->schema ([
5966 Infolists \Components \TextEntry::make ('from_collective_name ' )
6067 ->label ('Name ' ),
@@ -64,8 +71,10 @@ public static function infolist(Schema $schema): Schema
6471 ->openUrlInNewTab (),
6572 Infolists \Components \TextEntry::make ('from_collective_id ' )
6673 ->label ('Collective ID ' ),
67- ])->columns (3 ),
68- Infolists \Components \Section::make ('Claim Status ' )
74+ ]),
75+ Schemas \Components \Section::make ('Claim Status ' )
76+ ->inlineLabel ()
77+ ->columns (1 )
6978 ->schema ([
7079 Infolists \Components \IconEntry::make ('claimed_at ' )
7180 ->label ('Claimed ' )
@@ -82,7 +91,7 @@ public static function infolist(Schema $schema): Schema
8291 ->label ('Claimed By ' )
8392 ->placeholder ('Not claimed ' )
8493 ->url (fn ($ record ) => $ record ->user_id ? UserResource::getUrl ('edit ' , ['record ' => $ record ->user_id ]) : null ),
85- ])-> columns ( 3 ) ,
94+ ]),
8695 ]);
8796 }
8897
0 commit comments