Skip to content

Commit

Permalink
Update map.blade.php
Browse files Browse the repository at this point in the history
Fix dark mode as config('filament.dark_mode') does not exist anymore in filament v3
  • Loading branch information
invaders-xx authored Mar 25, 2024
1 parent 6177e37 commit bed1833
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions resources/views/widgets/map.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
$rounded = $this->getRounded();
@endphp
<x-filament-widgets::widget class="filament-maps-widget">
<div @class([
'bg-white rounded-xl shadow overflow-hidden',
'p-2 space-y-2' => $hasBorder,
'dark:border-gray-600 dark:bg-gray-800' => config('filament.dark_mode'),
])>
<x-filament::card class="filament-maps-card">
@if ($heading)
<div @class([
'px-4 py-2' => $hasBorder,
Expand Down Expand Up @@ -42,6 +38,6 @@
{{ $footer }}
</div>
@endif
</div>
</x-filament::card>
</x-filament-widgets::widget>

0 comments on commit bed1833

Please sign in to comment.