From 75cf5db96120eac78e800c45f246df31f82a9b35 Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 17 Jun 2026 16:08:14 +0200 Subject: [PATCH] wip --- app/Filament/Pages/Statistic.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 98d4b6a8..5fe95c4e 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -159,10 +159,10 @@ class Statistic extends BaseDashboard ->placeholder('Similar Past Matches') ->prefixIconColor('primary') ->suffix(fn(Get $get): string|HtmlString => $get('similar_past_matches') != 'none' ? new HtmlString('
± ' . $get('accuracy') . '
') : '') - // ->columnSpan([ - // 'default' => 1, - // 'xl' => 2, - // ]) + ->columnSpan([ + 'default' => 1, + 'sm' => 2, + ]) ->prefixAction( Action::make('iconInfo') ->icon('phosphor-question') @@ -177,9 +177,9 @@ class Statistic extends BaseDashboard $set('team_position', null); }) ->options([ - 'none' => 'SPM: None', - 'league' => 'SPM: League', - 'all' => 'SPM: All Database', + 'none' => 'Similar Past Matches: None', + 'league' => 'Similar Past Matches: League', + 'all' => 'Similar Past Matches: All Database', ]), Slider::make('accuracy') // ->label('Accuracy min: 0, max: 0.25, steps: 0.025') @@ -192,10 +192,10 @@ class Statistic extends BaseDashboard ->step(0.025) ->decimalPlaces(3) // ->tooltips() - ->columnSpan([ - 'default' => 1, - 'xl' => 2, - ]) + // ->columnSpan([ + // 'default' => 1, + // 'xl' => 2, + // ]) ->pips() ->pipsFormatter(RawJs::make(<<<'JS' `${$value.toFixed(2)}`