From deb6656c5ac9bbb68e9e511768cc2bd60af868ff Mon Sep 17 00:00:00 2001 From: jermspeaks Date: Mon, 19 Feb 2024 15:04:16 -0800 Subject: [PATCH] Add better support for uuid dark mode --- src/components/lib/Uuid.svelte | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/components/lib/Uuid.svelte b/src/components/lib/Uuid.svelte index e16604dc..cb89cc22 100644 --- a/src/components/lib/Uuid.svelte +++ b/src/components/lib/Uuid.svelte @@ -43,7 +43,9 @@
-

Generated UUID: {uuid}

+

+ Generated UUID: {uuid} +

- Copied! + Copied!
@@ -96,13 +97,11 @@ .tooltip { visibility: hidden; position: absolute; - background-color: black; - color: white; text-align: center; border-radius: 6px; padding: 5px; z-index: 1; - bottom: calc(100% + 4px); /* Positioning it above the button with a gap */ + bottom: calc(100% + 2px); /* Positioning it above the button with a gap */ left: 50%; transform: translateX(-50%); } @@ -115,6 +114,5 @@ margin-left: -5px; border-width: 5px; border-style: solid; - border-color: black transparent transparent transparent; }