Update Badge styling in WalletPage for improved interaction

- Modified the Badge component to include 'pointer-events-none' class, preventing interaction with the tag badge.
- This change enhances the user experience by ensuring that the badge does not interfere with other interactive elements in the transaction display.
This commit is contained in:
padreug 2025-09-15 00:42:19 +02:00
parent a22864f7e0
commit 895887c465

View file

@ -179,7 +179,7 @@ onMounted(() => {
class="relative p-3 rounded-lg border hover:bg-accent/50 transition-colors" class="relative p-3 rounded-lg border hover:bg-accent/50 transition-colors"
> >
<!-- Tag badge in top-left corner --> <!-- Tag badge in top-left corner -->
<Badge v-if="tx.tag" variant="secondary" class="absolute -top-2.75 left-11 text-xs font-medium z-10 bg-blue-100 text-blue-800 border-blue-200"> <Badge v-if="tx.tag" variant="secondary" class="absolute -top-2.75 left-11 text-xs font-medium z-10 bg-blue-100 text-blue-800 border-blue-200 pointer-events-none">
{{ tx.tag }} {{ tx.tag }}
</Badge> </Badge>
<!-- Mobile Layout: Stack vertically --> <!-- Mobile Layout: Stack vertically -->