fix(machine): show price and balance badges on mobile
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7f9e1d2da0
commit
45224d2aaf
1 changed files with 3 additions and 3 deletions
|
|
@ -97,16 +97,16 @@ function toggleLiveServices() {
|
|||
<div
|
||||
class="fixed right-2 top-2 lg:right-6 lg:top-6 z-50 flex flex-wrap items-center justify-end gap-1 lg:gap-2"
|
||||
>
|
||||
<!-- Price and balance: only on idle, hidden on mobile -->
|
||||
<!-- Price and balance: only on idle -->
|
||||
<Badge
|
||||
v-if="atmStore.isIdle && formattedBtcPrice"
|
||||
class="hidden lg:inline-flex bg-primary/10 font-mono text-primary border border-primary/30 text-base"
|
||||
class="bg-primary/10 font-mono text-primary border border-primary/30 text-[10px] lg:text-base"
|
||||
>
|
||||
{{ formattedBtcPrice }}
|
||||
</Badge>
|
||||
<Badge
|
||||
v-if="atmStore.isIdle && atmStore.balanceSats !== null"
|
||||
class="hidden lg:inline-flex bg-bitcoin/20 font-mono text-bitcoin border border-bitcoin/30 text-base"
|
||||
class="bg-bitcoin/20 font-mono text-bitcoin border border-bitcoin/30 text-[10px] lg:text-base"
|
||||
>
|
||||
bal: {{ formatSats(atmStore.balanceSats) }} sats
|
||||
</Badge>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue