Skip to content

Commit

Permalink
Merge pull request #13923 from gehrisandro/fix-tab-item-inactive-classes
Browse files Browse the repository at this point in the history
Fix alpine class binding for inactive tab items
  • Loading branch information
danharrin authored Aug 13, 2024
2 parents d937e85 + 633486a commit 21dc8f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
@endif
@if ($hasAlpineActiveClasses)
x-bind:class="{
@js($inactiveItemClasses): ! {{ $alpineActive }},
@js($inactiveItemClasses): {{-- format-ignore-start --}} ! ({{ $alpineActive }}) {{-- format-ignore-end --}},
@js($activeItemClasses): {{ $alpineActive }},
}"
@endif
Expand Down Expand Up @@ -83,7 +83,7 @@
<span
@if ($hasAlpineActiveClasses)
x-bind:class="{
@js($inactiveLabelClasses): ! {{ $alpineActive }},
@js($inactiveLabelClasses): {{-- format-ignore-start --}} ! ({{ $alpineActive }}) {{-- format-ignore-end --}},
@js($activeLabelClasses): {{ $alpineActive }},
}"
@endif
Expand Down

0 comments on commit 21dc8f0

Please sign in to comment.