fix: allow text selection in toast notifications

This commit is contained in:
t8y2 2026-06-15 13:13:00 +08:00
parent 1a91cb7c77
commit a3c972c367
1 changed files with 1 additions and 1 deletions

View File

@ -1338,7 +1338,7 @@ onUnmounted(() => {
</div>
<Teleport to="body">
<Transition name="toast">
<div v-if="toastVisible" class="fixed bottom-6 left-1/2 -translate-x-1/2 z-99999 px-4 py-2 rounded-lg bg-foreground text-background text-sm shadow-lg pointer-events-none">
<div v-if="toastVisible" class="fixed bottom-6 left-1/2 -translate-x-1/2 z-99999 px-4 py-2 rounded-lg bg-foreground text-background text-sm shadow-lg select-text">
{{ toastMessage }}
</div>
</Transition>