Change the size of the Stats Overview Widget
Hello, I would like some help to reduce the size of my stat widget, I want to reduce the size by half, I am rendering this widget on a custom page, I need the widgets to be shown in a single column, apparently by default the page is divided into 3 columns, could someone help me please?
Card::make(
$nms->name,
$events ? ($nms->conn_status == 0 ? 'OFFLINE' : $events->count()) : 0
)
->description('View Events')
->descriptionIcon('heroicon-o-arrow-right-circle')
->chart($eventsByDay->toArray())
->color($events ? ($nms->conn_status == 0 ? 'warning' : ($events->count() > 0 ? 'danger' : 'success')) : 'success')
->extraAttributes([
'class' => 'cursor-pointer',
'wire:click' => "nms_events('{$nms->id}')",
]);
3 Replies
up
I customed its view page like this
</div>
</x-filament-widgets::widget>