mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 06:48:02 +01:00
update height
This commit is contained in:
parent
527eef4281
commit
cd3fe35b05
1 changed files with 16 additions and 2 deletions
|
@ -5,7 +5,7 @@ page_container %}
|
|||
<q-page>
|
||||
<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">
|
||||
<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-section>
|
||||
<div class="gt-sm">
|
||||
|
@ -315,7 +315,7 @@ page_container %}
|
|||
<q-tab
|
||||
class="q-pa-none"
|
||||
icon="bolt"
|
||||
label="Get Invoice"
|
||||
label="Get invoice"
|
||||
@click="showInvoicesDialog"
|
||||
>
|
||||
</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.table('### tokens', this.proofs)
|
||||
console.log('#### this.mintId', this.mintId)
|
||||
|
|
Loading…
Add table
Reference in a new issue