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:
parent
a22864f7e0
commit
895887c465
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ onMounted(() => {
|
|||
class="relative p-3 rounded-lg border hover:bg-accent/50 transition-colors"
|
||||
>
|
||||
<!-- 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 }}
|
||||
</Badge>
|
||||
<!-- Mobile Layout: Stack vertically -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue