diff --git a/app/Filament/Pages/Dashboard.php b/app/Filament/Pages/Dashboard.php index e7ce723..b6af348 100644 --- a/app/Filament/Pages/Dashboard.php +++ b/app/Filament/Pages/Dashboard.php @@ -16,6 +16,11 @@ class Dashboard extends BaseDashboard { use HasFiltersForm, HasPageShield; + public function getColumns(): int|array + { + return 2; + } + public function filtersForm(Schema $schema): Schema { return $schema diff --git a/app/Filament/Widgets/IssueLocationChart.php b/app/Filament/Widgets/IssueLocationChart.php index 0eae5bd..2aff8fb 100644 --- a/app/Filament/Widgets/IssueLocationChart.php +++ b/app/Filament/Widgets/IssueLocationChart.php @@ -17,7 +17,7 @@ class IssueLocationChart extends ChartWidget protected static ?int $sort = 15; - protected int|string|array $columnSpan = 'full'; + protected int|string|array $columnSpan = 1; protected function getData(): array { diff --git a/app/Filament/Widgets/JournalistRegistrationChart.php b/app/Filament/Widgets/JournalistRegistrationChart.php index 291c54a..4a8994c 100644 --- a/app/Filament/Widgets/JournalistRegistrationChart.php +++ b/app/Filament/Widgets/JournalistRegistrationChart.php @@ -17,7 +17,7 @@ class JournalistRegistrationChart extends ChartWidget protected static ?int $sort = 8; - protected int|string|array $columnSpan = 'full'; + protected int|string|array $columnSpan = 1; protected function getData(): array { diff --git a/app/Filament/Widgets/MediaCooperationRankingChart.php b/app/Filament/Widgets/MediaCooperationRankingChart.php index 79270b3..e44f9de 100644 --- a/app/Filament/Widgets/MediaCooperationRankingChart.php +++ b/app/Filament/Widgets/MediaCooperationRankingChart.php @@ -17,7 +17,7 @@ class MediaCooperationRankingChart extends ChartWidget protected static ?int $sort = 11; - protected int|string|array $columnSpan = 'full'; + protected int|string|array $columnSpan = 1; protected function getData(): array { diff --git a/app/Filament/Widgets/MediaRegistrationChart.php b/app/Filament/Widgets/MediaRegistrationChart.php index a418555..2b3f342 100644 --- a/app/Filament/Widgets/MediaRegistrationChart.php +++ b/app/Filament/Widgets/MediaRegistrationChart.php @@ -17,7 +17,7 @@ class MediaRegistrationChart extends ChartWidget protected static ?int $sort = 4; - protected int|string|array $columnSpan = 'full'; + protected int|string|array $columnSpan = 1; protected function getData(): array { diff --git a/app/Filament/Widgets/PopularNewsChart.php b/app/Filament/Widgets/PopularNewsChart.php index 49ca8ef..d11f808 100644 --- a/app/Filament/Widgets/PopularNewsChart.php +++ b/app/Filament/Widgets/PopularNewsChart.php @@ -15,7 +15,7 @@ class PopularNewsChart extends ChartWidget protected static ?int $sort = 13; - protected int|string|array $columnSpan = 'full'; + protected int|string|array $columnSpan = 1; protected function getData(): array { diff --git a/app/Filament/Widgets/TopMediaJournalistChart.php b/app/Filament/Widgets/TopMediaJournalistChart.php index 2c0484a..c9764f6 100644 --- a/app/Filament/Widgets/TopMediaJournalistChart.php +++ b/app/Filament/Widgets/TopMediaJournalistChart.php @@ -15,7 +15,7 @@ class TopMediaJournalistChart extends ChartWidget protected static ?int $sort = 5; - protected int|string|array $columnSpan = 'full'; + protected int|string|array $columnSpan = 1; protected function getData(): array { diff --git a/app/Filament/Widgets/VerificationPerformanceChart.php b/app/Filament/Widgets/VerificationPerformanceChart.php index cfbffd7..42b1ea3 100644 --- a/app/Filament/Widgets/VerificationPerformanceChart.php +++ b/app/Filament/Widgets/VerificationPerformanceChart.php @@ -18,7 +18,7 @@ class VerificationPerformanceChart extends ChartWidget protected static ?int $sort = 14; - protected int|string|array $columnSpan = 'full'; + protected int|string|array $columnSpan = 1; protected function getData(): array { diff --git a/app/Filament/Widgets/VisitorTrafficChart.php b/app/Filament/Widgets/VisitorTrafficChart.php index 265cf0a..ef21908 100644 --- a/app/Filament/Widgets/VisitorTrafficChart.php +++ b/app/Filament/Widgets/VisitorTrafficChart.php @@ -17,7 +17,7 @@ class VisitorTrafficChart extends ChartWidget protected static ?int $sort = 12; - protected int|string|array $columnSpan = 'full'; + protected int|string|array $columnSpan = 1; protected function getData(): array {