mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 01:58:00 +08:00
Update flex.blade.php
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@php
|
||||
use Filament\Schemas\Components\Component;
|
||||
use Filament\Support\Enums\VerticalAlignment;
|
||||
|
||||
$fromBreakpoint = $getFromBreakpoint();
|
||||
@@ -24,7 +25,7 @@
|
||||
@foreach ($getChildSchema()->getComponents() as $component)
|
||||
<div
|
||||
@class([
|
||||
'fi-growable' => $component->canGrow(),
|
||||
'fi-growable' => ($component instanceof Component) && $component->canGrow(),
|
||||
])
|
||||
>
|
||||
{{ $component }}
|
||||
|
||||
Reference in New Issue
Block a user