mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #17796 from filamentphp/fix/fused-group-with-default-columns
fix: Fused group with default columns
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -26,6 +26,16 @@
|
||||
@apply rounded-b-lg;
|
||||
}
|
||||
|
||||
&.fi-grid-cols {
|
||||
& > :first-child .fi-input-wrp {
|
||||
@apply rounded-se-none rounded-es-lg;
|
||||
}
|
||||
|
||||
& > :last-child .fi-input-wrp {
|
||||
@apply rounded-se-lg rounded-es-none;
|
||||
}
|
||||
}
|
||||
|
||||
&.sm\:fi-grid-cols {
|
||||
& > :first-child .fi-input-wrp {
|
||||
@apply sm:rounded-se-none sm:rounded-es-lg;
|
||||
|
||||
@@ -189,7 +189,7 @@ class SupportServiceProvider extends PackageServiceProvider
|
||||
'fi-grid-direction-col' => $direction === GridDirection::Column,
|
||||
...array_map(
|
||||
fn (string $breakpoint): string => match ($breakpoint) {
|
||||
'default' => '',
|
||||
'default' => (($columns[$breakpoint] ?? 1) > 1) ? 'fi-grid-cols' : '',
|
||||
default => "{$breakpoint}:fi-grid-cols",
|
||||
},
|
||||
array_keys($columns),
|
||||
|
||||
Reference in New Issue
Block a user