Fix tooltip location to avoid scrollbars

This commit is contained in:
José Valim 2024-04-09 18:23:44 +02:00
parent f4a29840bc
commit 97185ad34c

View file

@ -352,7 +352,7 @@ defmodule LivebookWeb.Hub.Edit.TeamComponent do
aria-label="copy to clipboard"
phx-click={
JS.dispatch("lb:clipcopy", to: "#teams-key")
|> JS.transition("tooltip top", time: 2000)
|> JS.transition("tooltip left", time: 2000)
}
>
<.button color="gray" small type="button">