From 12632d451aaffffa7b15bc0402a5594fed04cbca Mon Sep 17 00:00:00 2001 From: Corey Date: Sat, 1 Aug 2020 15:04:54 +0800 Subject: [PATCH] Tweaked auto width of copied notification --- src/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 99aea09..6361bcd 100644 --- a/src/index.html +++ b/src/index.html @@ -251,7 +251,8 @@ x-show="copied" x-on:show:toast.document="copied = !copied" x-cloak - class="rounded bg-black p-1 absolute top-0 -mt-8 left-0 right-0 text-sm text-white w-16 text-center mx-auto z-50" + class="rounded bg-black py-1 px-2 absolute top-0 -mt-8 left-0 right-0 text-sm text-white text-center mx-auto z-50" + style="width: fit-content;" x-transition:enter="transition ease-out duration-200" x-transition:enter-start="opacity-0 transform scale-90" x-transition:enter-end="opacity-100 transform scale-100"