ui: set panel max content width to Full on both Tenant and Central

Previously .fi-main was capped at width-7xl (~1280px). Tables with
many columns overflowed and needed inner scroll. Now the entire main
area uses 100% width so tables render without truncation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-18 09:47:52 +00:00
parent c72a5b2542
commit 749ce99c4c
2 changed files with 2 additions and 0 deletions
@@ -33,6 +33,7 @@ class CentralPanelProvider extends PanelProvider
->path('admin') ->path('admin')
->domain(env('CENTRAL_DOMAIN', 'service.mir.md')) ->domain(env('CENTRAL_DOMAIN', 'service.mir.md'))
->login() ->login()
->maxContentWidth(\Filament\Support\Enums\Width::Full)
->brandName('AutoCRM — Platformă') ->brandName('AutoCRM — Platformă')
->colors([ ->colors([
'primary' => Color::Indigo, 'primary' => Color::Indigo,
@@ -34,6 +34,7 @@ class TenantPanelProvider extends PanelProvider
->path('app') ->path('app')
->login() ->login()
->sidebarCollapsibleOnDesktop() // permite îngustarea coloanei stânga cu un click ->sidebarCollapsibleOnDesktop() // permite îngustarea coloanei stânga cu un click
->maxContentWidth(\Filament\Support\Enums\Width::Full)
->brandName(fn () => app(\App\Tenancy\TenantManager::class)->current()?->display_name ->brandName(fn () => app(\App\Tenancy\TenantManager::class)->current()?->display_name
?? app(\App\Tenancy\TenantManager::class)->current()?->name ?? app(\App\Tenancy\TenantManager::class)->current()?->name
?? 'AutoCRM') ?? 'AutoCRM')