From 026af473ec23d465c68761b0904ec90db0aedd50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Thu, 25 Jan 2024 17:55:52 +0800 Subject: [PATCH] Simplify terminal text clipboard icon --- assets/css/js_interop.css | 4 ---- lib/livebook_web/live/hub/new_live.ex | 1 - lib/livebook_web/live/output.ex | 1 - lib/livebook_web/live/output/terminal_text_component.ex | 5 ++--- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/assets/css/js_interop.css b/assets/css/js_interop.css index f0494ef33..b507e850f 100644 --- a/assets/css/js_interop.css +++ b/assets/css/js_interop.css @@ -294,10 +294,6 @@ solely client-side operations. @apply hidden; } -[phx-hook="VirtualizedLines"]:not(:hover) [data-el-clipcopy] { - @apply hidden; -} - /* === Session views === */ [data-el-session][data-js-view="code-zen"] [data-el-view-toggle="code-zen"] { diff --git a/lib/livebook_web/live/hub/new_live.ex b/lib/livebook_web/live/hub/new_live.ex index 756d8e525..4974d4b94 100644 --- a/lib/livebook_web/live/hub/new_live.ex +++ b/lib/livebook_web/live/hub/new_live.ex @@ -167,7 +167,6 @@ defmodule LivebookWeb.Hub.NewLive do