Update SupportServiceProvider.php

This commit is contained in:
Dan Harrin
2025-09-15 09:53:23 +01:00
parent 394702b70a
commit b72fbc026b
@@ -189,7 +189,7 @@ class SupportServiceProvider extends PackageServiceProvider
'fi-grid-direction-col' => $direction === GridDirection::Column,
...array_map(
fn (string $breakpoint): string => match ($breakpoint) {
'default' => (($columns[$breakpoint] ?? 1) > 1) ? 'fi-grid-cols' : '',
'default' => ($columns[$breakpoint] > 1) ? 'fi-grid-cols' : '',
default => "{$breakpoint}:fi-grid-cols",
},
array_keys($columns),