Skip to content

Commit

Permalink
Merge pull request #11692 from filamentphp/remove-interactive-styles-…
Browse files Browse the repository at this point in the history
…from-sidebar-item-without-url

Remove interactive styles from sidebar item without URL
  • Loading branch information
danharrin authored Mar 5, 2024
2 parents bb83a8b + 205d1d2 commit 5d9e37c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
x-tooltip.html="tooltip"
@endif
@class([
'fi-sidebar-item-button relative flex items-center justify-center gap-x-3 rounded-lg px-2 py-2 outline-none transition duration-75 hover:bg-gray-100 focus-visible:bg-gray-100 dark:hover:bg-white/5 dark:focus-visible:bg-white/5',
'fi-sidebar-item-button relative flex items-center justify-center gap-x-3 rounded-lg px-2 py-2 outline-none transition duration-75',
'hover:bg-gray-100 focus-visible:bg-gray-100 dark:hover:bg-white/5 dark:focus-visible:bg-white/5' => filled($url),
'bg-gray-100 dark:bg-white/5' => $active,
])
>
Expand Down

0 comments on commit 5d9e37c

Please sign in to comment.