@@ -42,8 +42,12 @@ class PluginResource extends Resource
4242 public static function form (Schema $ schema ): Schema
4343 {
4444 return $ schema
45+ ->inlineLabel ()
46+ ->columns (1 )
4547 ->schema ([
4648 Schemas \Components \Section::make ('Plugin Details ' )
49+ ->inlineLabel ()
50+ ->columns (1 )
4751 ->schema ([
4852 Forms \Components \Placeholder::make ('logo_preview ' )
4953 ->label ('Logo ' )
@@ -74,18 +78,17 @@ public static function form(Schema $schema): Schema
7478 ->options (PluginStatus::class),
7579
7680 Forms \Components \Textarea::make ('description ' )
77- ->label ('Description ' )
78-
79- ->columnSpanFull (),
81+ ->label ('Description ' ),
8082
8183 Forms \Components \Textarea::make ('rejection_reason ' )
8284 ->label ('Rejection Reason ' )
8385
8486 ->visible (fn (?Plugin $ record ) => $ record ?->isRejected()),
85- ])
86- ->columns (2 ),
87+ ]),
8788
8889 Schemas \Components \Section::make ('Review Checks ' )
90+ ->inlineLabel ()
91+ ->columns (1 )
8992 ->schema ([
9093 Forms \Components \Placeholder::make ('reviewed_at_display ' )
9194 ->label ('Last Reviewed ' )
@@ -135,7 +138,6 @@ public static function form(Schema $schema): Schema
135138 ? '✅ ' .($ record ->review_checks ['android_min_version ' ] ?? '' )
136139 : '❌ Missing ' ),
137140 ])
138- ->columns (4 )
139141 ->headerActions ([
140142 Action::make ('emailReviewChecks ' )
141143 ->label ('Email Developer ' )
@@ -163,6 +165,8 @@ public static function form(Schema $schema): Schema
163165 ->visible (fn (?Plugin $ record ) => $ record ?->review_checks !== null ),
164166
165167 Schemas \Components \Section::make ('Developer Submission Details ' )
168+ ->inlineLabel ()
169+ ->columns (1 )
166170 ->schema ([
167171 Forms \Components \Placeholder::make ('support_channel_display ' )
168172 ->label ('Support Channel ' )
@@ -175,6 +179,8 @@ public static function form(Schema $schema): Schema
175179 ->visible (fn (?Plugin $ record ) => $ record !== null ),
176180
177181 Schemas \Components \Section::make ('Submission Info ' )
182+ ->inlineLabel ()
183+ ->columns (1 )
178184 ->schema ([
179185 Forms \Components \Select::make ('user_id ' )
180186 ->relationship ('user ' , 'email ' )
@@ -193,7 +199,6 @@ public static function form(Schema $schema): Schema
193199
194200 ->visible (fn (?Plugin $ record ) => $ record ?->approved_at !== null ),
195201 ])
196- ->columns (2 ),
197202 ]);
198203 }
199204
0 commit comments