Skip to content

Commit 1d6b896

Browse files
author
Matthew Weber
committed
Removed CSS Files.
1 parent 0b017a9 commit 1d6b896

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

resources/css/index.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

resources/dist/filament-comments.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

resources/views/comments.blade.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@if (auth()->user()->can('create', \Parallax\FilamentComments\Models\FilamentComment::class))
33
<div class="space-y-4">
44
{{ $this->form }}
5-
5+
66
<x-filament::button
77
wire:click="create"
88
color="primary"
@@ -13,7 +13,8 @@
1313
@endif
1414

1515
@if (count($comments))
16-
<x-filament::grid class="gap-4">
16+
17+
<div class="space-y-2 flex flex-col">
1718
@foreach ($comments as $comment)
1819
<div class="fi-in-repeatable-item block rounded-xl bg-white p-4 shadow-sm ring-1 ring-gray-950/5 dark:bg-white/5 dark:ring-white/10">
1920
<div class="flex gap-x-3">
@@ -25,7 +26,7 @@
2526
<div class="flex gap-x-2 items-center justify-between">
2627
<div class="flex gap-x-2 items-center">
2728
<div class="text-sm font-medium text-gray-950 dark:text-white">
28-
{{ $comment->user[config('filament-comments.user_name_attribute')] }}
29+
{{ $comment->user[config('filament-comments.user_name_attribute')] ?? "Unknown User" }}
2930
</div>
3031

3132
<div class="text-xs font-medium text-gray-400 dark:text-gray-500">
@@ -56,14 +57,14 @@
5657
</div>
5758
</div>
5859
@endforeach
59-
</x-filament::grid>
60+
</div>
6061
@else
6162
<div class="flex-grow flex flex-col items-center justify-center space-y-4">
6263
<x-filament::icon
6364
icon="{{ config('filament-comments.icons.empty') }}"
6465
class="h-12 w-12 text-gray-400 dark:text-gray-500"
6566
/>
66-
67+
6768
<div class="text-sm text-gray-400 dark:text-gray-500">
6869
{{ __('filament-comments::filament-comments.comments.empty') }}
6970
</div>

src/FilamentCommentsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function getAssetPackageName(): ?string
7474
protected function getAssets(): array
7575
{
7676
return [
77-
Css::make('filament-comments-styles', __DIR__ . '/../resources/dist/filament-comments.css'),
77+
7878
];
7979
}
8080

0 commit comments

Comments
 (0)