Skip to content

Commit

Permalink
fix: Improved style
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Jul 27, 2024
1 parent 9ab3843 commit 3042748
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,12 @@ class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium {
<button @click="open = !open"
class="text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 focus:outline-none">
{{ __('Details') }}
<span x-show="!open">▼</span>
<span x-show="open">▲</span>
<span x-show="!open">
@svg('heroicon-o-chevron-down', ['class' => 'h-4 w-4 text-gray-900 dark:text-gray-50 inline'])
</span>
<span x-show="open">
@svg('heroicon-o-chevron-up', ['class' => 'h-4 w-4 text-gray-900 dark:text-gray-50 inline'])
</span>
</button>
<div x-show="open" class="mt-2 space-y-2 text-sm">
<p class="text-gray-600 dark:text-gray-300">
Expand Down

0 comments on commit 3042748

Please sign in to comment.