diff --git a/lib/atomic_web/components/sidebar.ex b/lib/atomic_web/components/sidebar.ex index 1b88dcc61..de6172fc5 100644 --- a/lib/atomic_web/components/sidebar.ex +++ b/lib/atomic_web/components/sidebar.ex @@ -43,8 +43,6 @@ defmodule AtomicWeb.Components.Sidebar do <.sidebar_dropdown current_user={@current_user} /> - - + @@ -88,7 +87,9 @@ defmodule AtomicWeb.Components.Sidebar do <.live_component id="desktop-organizations" module={AtomicWeb.Components.Organizations} current_user={@current_user} current_organization={@current_organization} organizations={@organizations} /> <% end %> - <.sidebar_dropdown current_user={@current_user} /> +
+ <.sidebar_dropdown current_user={@current_user} /> +
""" @@ -118,12 +119,12 @@ defmodule AtomicWeb.Components.Sidebar do defp sidebar_dropdown(assigns) do ~H""" <%= if @current_user do %> - + <:wrapper> @@ -171,7 +172,7 @@ defmodule AtomicWeb.Components.Sidebar do |> JS.show( to: "#mobile-sidebar", transition: - {"ease-in duration-1000", "transform translate-x-0", "transform -translate-x-full"} + {"transition ease-in-out duration-300 transform", "-translate-x-full", "translate-x-0"} ) |> JS.show(to: "#sidebar-overlay") |> JS.dispatch("focus", to: "#mobile-sidebar")