refactor(config): use tailwindcss negative value instead of inline literal value

This commit is contained in:
kunish 2023-09-29 22:33:33 +08:00
parent 37ea37ba3d
commit 4b93751d4c
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -467,7 +467,7 @@ const Versions = () => {
<div class="relative"> <div class="relative">
<Show when={isUpdateAvailable()}> <Show when={isUpdateAvailable()}>
<span class="absolute right-[-4px] top-[-4px] flex h-3 w-3"> <span class="absolute -right-1 -top-1 flex h-3 w-3">
<span class="absolute inline-flex h-full w-full animate-ping rounded-full bg-info opacity-75" /> <span class="absolute inline-flex h-full w-full animate-ping rounded-full bg-info opacity-75" />
<span class="inline-flex h-3 w-3 rounded-full bg-info" /> <span class="inline-flex h-3 w-3 rounded-full bg-info" />
</span> </span>