From 257ea97e756c7a15f6f80da47e91e9c51ea3bc84 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 22 Apr 2025 10:29:47 +0530 Subject: [PATCH] full screen width for production chart --- .../Pages/CreateProductionQuantity.php | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/app/Filament/Resources/ProductionQuantityResource/Pages/CreateProductionQuantity.php b/app/Filament/Resources/ProductionQuantityResource/Pages/CreateProductionQuantity.php index 0cfe0ff..60f2f63 100644 --- a/app/Filament/Resources/ProductionQuantityResource/Pages/CreateProductionQuantity.php +++ b/app/Filament/Resources/ProductionQuantityResource/Pages/CreateProductionQuantity.php @@ -10,6 +10,7 @@ use Filament\Actions; use Filament\Facades\Filament; use Filament\Notifications\Notification; use Filament\Resources\Pages\CreateRecord; +use Filament\Support\Enums\MaxWidth; use Livewire\Livewire; use Log; use Route; @@ -48,8 +49,9 @@ class CreateProductionQuantity extends CreateRecord .fi-main { margin: 0 !important; padding: 0 !important; - height: 100vh; - overflow-y: auto; /* Allow vertical scrolling */ + /* height: 20%; */ + max-width: 100% !important; + /* overflow-y: auto; Allow vertical scrolling */ } /* Expand page area fully */ @@ -62,13 +64,28 @@ class CreateProductionQuantity extends CreateRecord body { overflow: auto; } + + + + HTML; } } ); } + // public function getMaxContentWidth(): MaxWidth + // { + // return MaxWidth::Full; + // } + protected function getFooterWidgets(): array { return [