mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
🎨 Add new Flux icons: implement multiple reusable icon components (e.g., hand-raised, hand-thumb-up, heart, hashtag, home) with variant support for improved UI consistency.
This commit is contained in:
22
resources/views/flux/popover/index.blade.php
Normal file
22
resources/views/flux/popover/index.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
@blaze
|
||||
|
||||
@php
|
||||
$classes = Flux::classes()
|
||||
->add('[:where(&)]:min-w-48 [:where(&)]:p-4')
|
||||
->add('[:where(&)]:min-w-48 [:where(&)]:p-4')
|
||||
->add('rounded-lg [:where(&)]:shadow-xs')
|
||||
->add('border border-zinc-200 dark:border-zinc-600')
|
||||
->add('bg-white dark:bg-zinc-700')
|
||||
// This is a fix for elements with the popover attribute not being friendly with display
|
||||
// CSS properties like: "flex" because popovers need display: none; when closed...
|
||||
->add('not-data-open:hidden')
|
||||
;
|
||||
@endphp
|
||||
|
||||
<div
|
||||
{{ $attributes->class($classes) }}
|
||||
popover="manual"
|
||||
data-flux-popover
|
||||
>
|
||||
{{ $slot }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user