layout bug
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
v-if="!isPrioritySwapped"
|
v-if="!isPrioritySwapped"
|
||||||
style="height: 100px"
|
style="height: 100px"
|
||||||
>
|
>
|
||||||
<div class="col-7">
|
<div class="col-7" :class="{'q-pt-lg': !g.wallet.currency && !fiatTracking}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<div class="text-h3 q-my-none text-no-wrap">
|
<div class="text-h3 q-my-none text-no-wrap">
|
||||||
@@ -120,10 +120,6 @@
|
|||||||
<div class="absolute-right q-pa-md" v-if="$q.screen.gt.md && g.wallet.currency && fiatTracking">
|
<div class="absolute-right q-pa-md" v-if="$q.screen.gt.md && g.wallet.currency && fiatTracking">
|
||||||
<div class="text-bold text-italic">
|
<div class="text-bold text-italic">
|
||||||
BTC Price
|
BTC Price
|
||||||
<span
|
|
||||||
:class="{'text-positive q-pl-xs': priceChange > 0, 'text-negative q-pl-xs': priceChange < 0}"
|
|
||||||
v-text="priceChange"
|
|
||||||
></span>
|
|
||||||
</div>
|
</div>
|
||||||
<span
|
<span
|
||||||
class="text-bold text-italic"
|
class="text-bold text-italic"
|
||||||
@@ -146,7 +142,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<div class="row q-pb-md q-px-md q-col-gutter-md gt-sm">
|
<div class="row q-pb-md q-px-md q-col-gutter-md gt-sm">
|
||||||
<div class="col">
|
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="primary"
|
color="primary"
|
||||||
@@ -154,8 +150,6 @@
|
|||||||
@click="showParseDialog"
|
@click="showParseDialog"
|
||||||
:label="$t('paste_request')"
|
:label="$t('paste_request')"
|
||||||
></q-btn>
|
></q-btn>
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="primary"
|
color="primary"
|
||||||
@@ -163,8 +157,6 @@
|
|||||||
@click="showReceiveDialog"
|
@click="showReceiveDialog"
|
||||||
:label="$t('create_invoice')"
|
:label="$t('create_invoice')"
|
||||||
></q-btn>
|
></q-btn>
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<q-btn
|
<q-btn
|
||||||
unelevated
|
unelevated
|
||||||
color="secondary"
|
color="secondary"
|
||||||
@@ -180,8 +172,7 @@
|
|||||||
:callback="updateBalanceCallback"
|
:callback="updateBalanceCallback"
|
||||||
:small_btn="false"
|
:small_btn="false"
|
||||||
></lnbits-update-balance>
|
></lnbits-update-balance>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
||||||
<q-card
|
<q-card
|
||||||
|
|||||||
@@ -722,10 +722,11 @@ window.app = Vue.createApp({
|
|||||||
this.$q.localStorage.set('lnbits.disclaimerShown', true)
|
this.$q.localStorage.set('lnbits.disclaimerShown', true)
|
||||||
}
|
}
|
||||||
// check blanace priority
|
// check blanace priority
|
||||||
if (this.$q.localStorage.getItem('lnbits.isPrioritySwapped')) {
|
if (this.$q.localStorage.getItem('lnbits.isPrioritySwapped')){
|
||||||
this.isPrioritySwapped = this.$q.localStorage.getItem(
|
this.isPrioritySwapped = this.$q.localStorage.getItem('lnbits.isPrioritySwapped')
|
||||||
'lnbits.isPrioritySwapped'
|
} else {
|
||||||
)
|
this.isPrioritySwapped = false
|
||||||
|
this.$q.localStorage.setItem('lnbits.isPrioritySwapped', false)
|
||||||
}
|
}
|
||||||
// listen to incoming payments
|
// listen to incoming payments
|
||||||
LNbits.events.onInvoicePaid(this.g.wallet, data => {
|
LNbits.events.onInvoicePaid(this.g.wallet, data => {
|
||||||
|
|||||||
Reference in New Issue
Block a user