Skip to content

Commit

Permalink
Replace ":class" with "x-bind:class" in case Vuejs is also used (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri-koenig committed May 3, 2021
1 parent 112b521 commit 85acc51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/modal.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class="fixed inset-0 transition-all transform"
x-transition:leave="ease-in duration-200"
x-transition:leave-start="opacity-100 translate-y-0 sm:scale-100"
x-transition:leave-end="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
:class="modalWidth"
x-bind:class="modalWidth"
class="inline-block w-full align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:w-full"
>
@forelse($components as $id => $component)
Expand Down

0 comments on commit 85acc51

Please sign in to comment.