Skip to content

Commit

Permalink
Change animation to zoom-in
Browse files Browse the repository at this point in the history
* Slide from left didn't work with chat on the right
  • Loading branch information
axelclark committed Apr 10, 2024
1 parent d0018ff commit 1a247a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex338_web/live/championship_live/show.ex
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,6 @@ defmodule Ex338Web.ChampionshipLive.Show do
end

def animate_in(element_id) do
JS.add_class("animate-in slide-in-from-right duration-500", to: element_id)
JS.add_class("animate-in zoom-in duration-500", to: element_id)
end
end

0 comments on commit 1a247a2

Please sign in to comment.