File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
resources/views/components/accordion Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,6 @@ class="fi-accordion-item group"
2828 type =" button"
2929 @click =" setActiveAccordion(id)"
3030 class =" flex items-center justify-between w-full p-4 text-start select-none"
31- :class =" {
32- 'bg-gray-100 dark:bg-gray-800': activeAccordion == id,
33- 'bg-white dark:bg-gray-800/50': activeAccordion != id,
34- }"
3531 >
3632 <span
3733 :class =" {
@@ -43,9 +39,10 @@ class="flex gap-2 font-medium items-center justify-center text-gray-500 group-ho
4339 @if ($icon !== null )
4440 <x-filament::icon
4541 :icon =" $icon"
46- class =" fi-accordion-item-icon h-6 w-6 shrink-0 transition duration-75"
42+ class =" fi-accordion-item-icon h-5 w-5 shrink-0 transition duration-75"
4743 />
4844 @endif
45+
4946 {{ $label } }
5047
5148 @if (filled ($badge ) )
@@ -54,8 +51,14 @@ class="fi-accordion-item-icon h-6 w-6 shrink-0 transition duration-75"
5451 </x-filament::badge >
5552 @endif
5653 </span >
57- <span :class =" { 'rotate-180': activeAccordion == id }" >
58- @svg (' heroicon-m-chevron-down' ,' w-4 h-4 duration-200 ease-out' )
54+ <span
55+ class =" duration-200 ease-out"
56+ :class =" { 'rotate-180': activeAccordion == id }"
57+ >
58+ <x-filament::icon
59+ class =" w-4 h-4"
60+ icon =" heroicon-m-chevron-down"
61+ />
5962 </span >
6063 </button >
6164 <div x-show =" activeAccordion == id" x-collapse x-cloak >
You can’t perform that action at this time.
0 commit comments