mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
15 lines
539 B
PHP
15 lines
539 B
PHP
@blaze
|
|
|
|
@php
|
|
$classes = Flux::classes()
|
|
->add('data-hidden:hidden flex items-center px-2 py-1.5 w-full focus:outline-hidden rounded-md')
|
|
->add('text-start text-sm font-medium')
|
|
->add('text-zinc-800 data-active:bg-zinc-100 dark:text-white dark:data-active:bg-zinc-600')
|
|
->add('scroll-my-[.3125rem]') // This is here so that when a user scrolls to the top or bottom of the list, the padding is included...
|
|
;
|
|
@endphp
|
|
|
|
<ui-option {{ $attributes->class($classes) }} data-flux-autocomplete-item>
|
|
{{ $slot }}
|
|
</ui-option>
|