update height

This commit is contained in:
callebtc 2022-11-06 18:01:54 +01:00 committed by dni ⚡
parent 527eef4281
commit cd3fe35b05

View file

@ -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)