Tweaked auto width of copied notification

This commit is contained in:
Corey 2020-08-01 15:04:54 +08:00
parent b0b9ba2df9
commit 12632d451a

View file

@ -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"