full screen width for production chart
This commit is contained in:
@@ -10,6 +10,7 @@ use Filament\Actions;
|
|||||||
use Filament\Facades\Filament;
|
use Filament\Facades\Filament;
|
||||||
use Filament\Notifications\Notification;
|
use Filament\Notifications\Notification;
|
||||||
use Filament\Resources\Pages\CreateRecord;
|
use Filament\Resources\Pages\CreateRecord;
|
||||||
|
use Filament\Support\Enums\MaxWidth;
|
||||||
use Livewire\Livewire;
|
use Livewire\Livewire;
|
||||||
use Log;
|
use Log;
|
||||||
use Route;
|
use Route;
|
||||||
@@ -48,8 +49,9 @@ class CreateProductionQuantity extends CreateRecord
|
|||||||
.fi-main {
|
.fi-main {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
height: 100vh;
|
/* height: 20%; */
|
||||||
overflow-y: auto; /* Allow vertical scrolling */
|
max-width: 100% !important;
|
||||||
|
/* overflow-y: auto; Allow vertical scrolling */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Expand page area fully */
|
/* Expand page area fully */
|
||||||
@@ -62,13 +64,28 @@ class CreateProductionQuantity extends CreateRecord
|
|||||||
body {
|
body {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<!-- <script>
|
||||||
|
window.addEventListener('keydown', function(event) {
|
||||||
|
if (event.key === 'F11') {
|
||||||
|
toggleFullScreen();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script> -->
|
||||||
|
|
||||||
HTML;
|
HTML;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// public function getMaxContentWidth(): MaxWidth
|
||||||
|
// {
|
||||||
|
// return MaxWidth::Full;
|
||||||
|
// }
|
||||||
|
|
||||||
protected function getFooterWidgets(): array
|
protected function getFooterWidgets(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
|||||||
Reference in New Issue
Block a user