Always show expand icon on hub select (#2395)

This commit is contained in:
Jonatan Kłosko 2023-12-11 07:17:08 +01:00 committed by GitHub
parent 8c168decc3
commit 3c7d356f90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -343,13 +343,13 @@ defmodule LivebookWeb.SessionLive do
<.menu position={:bottom_left} id="notebook-hub-menu"> <.menu position={:bottom_left} id="notebook-hub-menu">
<:toggle> <:toggle>
<div <div
class="inline-flex items-center group cursor-pointer gap-1 mt-1 text-sm text-gray-600 hover:text-gray-800 focus:text-gray-800" class="inline-flex items-center cursor-pointer gap-1 mt-1 text-sm text-gray-600 hover:text-gray-800 focus:text-gray-800"
aria-label={@data_view.hub.hub_name} aria-label={@data_view.hub.hub_name}
> >
<span>in</span> <span>in</span>
<span class="text-lg pl-1"><%= @data_view.hub.hub_emoji %></span> <span class="text-lg pl-1"><%= @data_view.hub.hub_emoji %></span>
<span><%= @data_view.hub.hub_name %></span> <span><%= @data_view.hub.hub_name %></span>
<.remix_icon icon="arrow-down-s-line" class="invisible group-hover:visible" /> <.remix_icon icon="arrow-down-s-line" />
</div> </div>
</:toggle> </:toggle>
<.menu_item :for={hub <- @saved_hubs}> <.menu_item :for={hub <- @saved_hubs}>