From 470f62f7a88777922392b3baf1ec1d4f3a0fd675 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 28 Jun 2024 02:06:29 +0200 Subject: [PATCH] More style tweaks --- public/css/index-tailwind-output.css | 4 ++ src/UI/Base/Copyable.svelte | 98 ++++++++++++++-------------- 2 files changed, 54 insertions(+), 48 deletions(-) diff --git a/public/css/index-tailwind-output.css b/public/css/index-tailwind-output.css index 9efb708fc..5c0a07a0c 100644 --- a/public/css/index-tailwind-output.css +++ b/public/css/index-tailwind-output.css @@ -7633,6 +7633,10 @@ svg.apply-fill path { .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } + + .lg\:flex-row { + flex-direction: row; + } } @media (min-width: 1280px) { diff --git a/src/UI/Base/Copyable.svelte b/src/UI/Base/Copyable.svelte index e39ba28c8..cdc9747ad 100644 --- a/src/UI/Base/Copyable.svelte +++ b/src/UI/Base/Copyable.svelte @@ -1,59 +1,61 @@ -
+
+ +
+
Utils.selectTextIn(e.target)}> + {text} +
+
+ {#if typeof navigator?.share === "function" && state !== undefined} + + {/if} + {#if navigator.clipboard !== undefined} + + {/if} +
+ -
-
Utils.selectTextIn(e.target)}> - {text} -
-
- {#if typeof navigator?.share === "function" && state !== undefined} - - {/if} - {#if navigator.clipboard !== undefined} - - {/if}
-
- - -
- {#if isCopied} - - {/if} -
+
+ {#if isCopied} + + {/if} +