mirror of
https://github.com/lnbits/lnbits.git
synced 2025-08-02 23:12:34 +02:00
update height
This commit is contained in:
@@ -5,7 +5,7 @@ page_container %}
|
|||||||
<q-page>
|
<q-page>
|
||||||
<div class="row q-col-gutter-md justify-center q-pt-lg">
|
<div class="row q-col-gutter-md justify-center q-pt-lg">
|
||||||
<div class="col-12 col-sm-8 col-md-9 col-lg-7 text-center q-gutter-y-md">
|
<div class="col-12 col-sm-8 col-md-9 col-lg-7 text-center q-gutter-y-md">
|
||||||
<q-scroll-area style="height: 550px; max-width: 1024px" class="lt-md">
|
<q-scroll-area :style="'height: ' + height + 'px; max-width: 1024px'">
|
||||||
<q-card class="q-mb-sm">
|
<q-card class="q-mb-sm">
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<div class="gt-sm">
|
<div class="gt-sm">
|
||||||
@@ -315,7 +315,7 @@ page_container %}
|
|||||||
<q-tab
|
<q-tab
|
||||||
class="q-pa-none"
|
class="q-pa-none"
|
||||||
icon="bolt"
|
icon="bolt"
|
||||||
label="Get Invoice"
|
label="Get invoice"
|
||||||
@click="showInvoicesDialog"
|
@click="showInvoicesDialog"
|
||||||
>
|
>
|
||||||
</q-tab>
|
</q-tab>
|
||||||
@@ -2161,6 +2161,20 @@ page_container %}
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var body = document.body,
|
||||||
|
html = document.documentElement
|
||||||
|
|
||||||
|
var height = Math.max(
|
||||||
|
body.scrollHeight,
|
||||||
|
body.offsetHeight,
|
||||||
|
html.clientHeight,
|
||||||
|
html.scrollHeight,
|
||||||
|
html.offsetHeight
|
||||||
|
)
|
||||||
|
|
||||||
|
console.log('height', height)
|
||||||
|
this.height = height
|
||||||
|
|
||||||
console.log('### invoicesCashu', this.invoicesCashu)
|
console.log('### invoicesCashu', this.invoicesCashu)
|
||||||
console.table('### tokens', this.proofs)
|
console.table('### tokens', this.proofs)
|
||||||
console.log('#### this.mintId', this.mintId)
|
console.log('#### this.mintId', this.mintId)
|
||||||
|
Reference in New Issue
Block a user