[FIX] portal, account: portal invoice alert layout
Fix broken layout issue
This commit is contained in:
@@ -122,14 +122,17 @@
|
||||
</t>
|
||||
|
||||
<!-- Page Content -->
|
||||
<div id="invoice_content" class="o_portal_page_content col-12 col-lg d-flex justify-content-end">
|
||||
<t t-if="error or warning" t-call="account.portal_invoice_error"/>
|
||||
<t t-if="success and (not error and not warning)" t-call="account.portal_invoice_success"/>
|
||||
<div class="o_portal_html_view shadow">
|
||||
<div class="o_portal_html_loader text-center">
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-2x fa-fw text-black-50"></i>
|
||||
<div id="invoice_content" class="o_portal_page_content col-12 col-lg d-flex flex-column align-items-end">
|
||||
<div class="o_portal_page_size">
|
||||
<t t-if="error or warning" t-call="account.portal_invoice_error"/>
|
||||
<t t-if="success and (not error and not warning)" t-call="account.portal_invoice_success"/>
|
||||
|
||||
<div class="o_portal_html_view shadow">
|
||||
<div class="o_portal_html_loader text-center">
|
||||
<i class="fa fa-circle-o-notch fa-spin fa-2x fa-fw text-black-50"></i>
|
||||
</div>
|
||||
<iframe id="invoice_html" class="mt8 mb8" width="100%" height="100%" frameborder="0" scrolling="no" t-att-src="invoice.get_portal_url(report_type='html')"/>
|
||||
</div>
|
||||
<iframe id="invoice_html" class="mt8 mb8" width="100%" height="100%" frameborder="0" scrolling="no" t-att-src="invoice.get_portal_url(report_type='html')"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -487,11 +487,15 @@ form label {
|
||||
}
|
||||
}
|
||||
|
||||
.o_portal_html_view {
|
||||
overflow: hidden;
|
||||
.o_portal_page_size {
|
||||
width: 100%;
|
||||
max-width: 210mm; // A4 page's width
|
||||
}
|
||||
|
||||
.o_portal_html_view {
|
||||
overflow: hidden;
|
||||
background: white;
|
||||
position: relative;
|
||||
|
||||
.o_portal_html_loader {
|
||||
@include o-position-absolute(45%, 0, auto, 0);
|
||||
|
||||
Reference in New Issue
Block a user