fix(machine): hide status badges during active transactions

The fixed-position BTC price, balance, and connection badges
overlapped with the CashIn/CashOut headers. Now only visible on idle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-03-01 14:09:48 -05:00
commit 88689a7fd3

View file

@ -89,8 +89,11 @@ function toggleLiveServices() {
<template v-else>
<router-view />
<!-- Connection status + balance (top right) -->
<div class="fixed right-6 top-6 z-50 flex flex-wrap items-center justify-end gap-2">
<!-- Connection status + balance (top right, idle only) -->
<div
v-if="atmStore.isIdle"
class="fixed right-6 top-6 z-50 flex flex-wrap items-center justify-end gap-2"
>
<Badge
v-if="formattedBtcPrice"
class="bg-primary/10 font-mono text-primary border border-primary/30 text-base"