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:
Ümit Tunç
2025-10-29 17:12:06 -03:00
parent 50b998b9d3
commit 307a94d6fd
@@ -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 = [];