File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed
Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -1256,15 +1256,25 @@ defmodule AlgoraWeb.Org.DashboardLive do
12561256 data-notice = "Copied to clipboard "
12571257 phx-click = {
12581258 % JS { }
1259- |> JS . hide ( to: "#og-url-copy-icon" )
1260- |> JS . show ( to: "#og-url-check-icon" )
1259+ |> JS . hide (
1260+ to: "#og-url-copy-icon" ,
1261+ transition: { "transition-opacity" , "opacity-100" , "opacity-0" }
1262+ )
1263+ |> JS . show (
1264+ to: "#og-url-check-icon" ,
1265+ transition: { "transition-opacity" , "opacity-0" , "opacity-100" }
1266+ )
12611267 }
1262- class = "cursor-pointer mt-3 text-foreground/90 hover:text-foreground "
1268+ class = "relative cursor-pointer mt-3 text-foreground/90 hover:text-foreground "
12631269 variant = "outline "
12641270 >
1265- < . icon id = "og-url-copy-icon " name = "tabler-copy " class = "size-4 mr-2 " />
1266- < . icon id = "og-url-check-icon " name = "tabler-check " class = "hidden size-4 mr-2 " />
1267- { AlgoraWeb.Endpoint . host ( ) } { ~p" /org/#{ @ current_org . handle } /home" }
1271+ < . icon id = "og-url-copy-icon " name = "tabler-copy " class = "absolute left-1 my-auto size-4 mr-2 " />
1272+ < . icon
1273+ id = "og-url-check-icon "
1274+ name = "tabler-check "
1275+ class = "absolute left-1 my-auto hidden size-4 mr-2 "
1276+ />
1277+ < span class = "pl-4 " > { AlgoraWeb.Endpoint . host ( ) } { ~p" /org/#{ @ current_org . handle } /home" } </ span >
12681278 </ . badge >
12691279 < img
12701280 src = { ~p" /og/org/#{ @ current_org . handle } /home" }
You can’t perform that action at this time.
0 commit comments