Skip to content

Commit

Permalink
fix dropdown component
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Apr 25, 2024
1 parent 1e39ee5 commit dc3f6b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/dropdown.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<x-splade-component is="dropdown" v-bind:close-on-click="true">
<x-splade-component is="dropdown" :full="$full" v-bind:close-on-click="true">
<x-slot:trigger>
<div {{ $attributes }}>
@isset($button)
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/includes/nav.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class="border border-zinc-100 dark:border-zinc-700 filament-icon-button flex ite

</span>

<x-heroicon-o-bell class="filament-icon-button-icon w-5 h-5"/>
<x-heroicon-o-bell class="filament-icon-button-icon w-4 h-4"/>

<span class="filament-icon-button-indicator absolute rounded-full text-xs inline-block w-4 h-4 -top-0.5 -right-0.5 bg-primary-500/10">
@php
Expand Down
1 change: 1 addition & 0 deletions src/Views/Dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public function __construct(
public ?string $label=null,
public ?string $icon=null,
public ?string $id=null,
public bool $full=true,
)
{
$this->id = Str::random(10);
Expand Down

0 comments on commit dc3f6b6

Please sign in to comment.