width in admin

This commit is contained in:
salam committed 2026-01-13 07:56:26 +01:00
1 parent d830285d41
commit adf62cabf0
3 files changed
+11 -18

No files matched your search

@@ -26,13 +26,14 @@ class CompetitionGroupsTable
->color('gray')
->label('Event')
->icon(fn ($record) => $record->country->icon),
SelectColumn::make('level')
->options([
'top' => 'Top Level',
'medium' => 'Medium Level',
'base' => 'Basic Level',
]),
TextColumn::make('name'),
SelectColumn::make('level')
->width(30)
->options([
'TOP' => 'TOP',
'MEDIUM' => 'MEDIUM',
'LOW' => 'LOW',
]),
])
->filters([
@@ -3,19 +3,14 @@
namespace App\Filament\Resources\Events\Pages;
use App\Filament\Resources\Events\EventResource;
use Filament\Actions\CreateAction;
use Filament\Resources\Pages\ListRecords;
use Filament\Support\Enums\Width;
class ListEvents extends ListRecords
{
protected static string $resource = EventResource::class;
protected $listeners = ['refreshBettypeMenu' => '$refresh'];
protected string|Width|null $maxContentWidth = Width::Full;
protected function getHeaderActions(): array
{
return [
// CreateAction::make(),
];
}
protected $listeners = ['refreshBettypeMenu' => '$refresh'];
}
@@ -67,10 +67,7 @@ class AdminPanelProvider extends PanelProvider
->pages([
// Dashboard::class,
])
// ->maxContentWidth(Width::SevenExtraLarge)
// ->maxContentWidth(Width::SevenExtraLarge)
->maxContentWidth(Width::Full)
->maxContentWidth(Width::ScreenTwoExtraLarge)
->breadcrumbs(false)
->topNavigation()
->userMenuItems([