full screen width for production chart
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user