Add max content width for ListSettings page: Implemented getMaxContentWidth method to set the maximum content width to full, enhancing the layout and responsiveness of the settings page.
This commit is contained in:
@@ -9,6 +9,7 @@ use Filament\Schemas\Components\Component;
|
||||
use Filament\Schemas\Components\Tabs;
|
||||
use Filament\Schemas\Components\Tabs\Tab;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
use Filament\Support\Enums\Width;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
@@ -34,6 +35,11 @@ class ListSettings extends ListRecords
|
||||
];
|
||||
}
|
||||
|
||||
public function getMaxContentWidth(): Width | string | null
|
||||
{
|
||||
return Width::Full;
|
||||
}
|
||||
|
||||
public function getTabs(): array
|
||||
{
|
||||
$tabs = [];
|
||||
|
||||
Reference in New Issue
Block a user