fix: iframe style
This commit is contained in:
@@ -5,28 +5,26 @@
|
|||||||
.wasm-extension-frame {
|
.wasm-extension-frame {
|
||||||
border: 0;
|
border: 0;
|
||||||
display: block;
|
display: block;
|
||||||
min-height: calc(100vh - 170px);
|
height: calc(100vh - 56px);
|
||||||
|
min-height: calc(100vh - 56px);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wasm-extension-public {
|
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 1180px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page_container %}
|
||||||
<div class="{% if public %}wasm-extension-public{% endif %}">
|
<q-page-container>
|
||||||
<iframe
|
<q-page class="q-pa-none">
|
||||||
id="lnbits-wasm-extension-frame"
|
<iframe
|
||||||
class="wasm-extension-frame"
|
id="lnbits-wasm-extension-frame"
|
||||||
src="{{ frame_url }}"
|
class="wasm-extension-frame"
|
||||||
title="{{ extension.name }}"
|
src="{{ frame_url }}"
|
||||||
sandbox="allow-scripts allow-forms"
|
title="{{ extension.name }}"
|
||||||
referrerpolicy="no-referrer"
|
sandbox="allow-scripts allow-forms"
|
||||||
></iframe>
|
referrerpolicy="no-referrer"
|
||||||
</div>
|
></iframe>
|
||||||
|
</q-page>
|
||||||
|
</q-page-container>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
|
|||||||
Reference in New Issue
Block a user