full screen width for production chart

This commit is contained in:
dhanabalan
2025-04-22 10:29:47 +05:30
parent c8487a91ea
commit 257ea97e75

View File

@@ -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;
}
</style>
<!-- <script>
window.addEventListener('keydown', function(event) {
if (event.key === 'F11') {
toggleFullScreen();
}
});
</script> -->
HTML;
}
}
);
}
// public function getMaxContentWidth(): MaxWidth
// {
// return MaxWidth::Full;
// }
protected function getFooterWidgets(): array
{
return [