Skip to content
Snippets Groups Projects
Commit bcf7e763 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Remove inline style & adjust iframe width

parent 7fbb34e0
No related branches found
No related tags found
1 merge request!1123Resolve "Finalise Vuetify app as SPA"
......@@ -2,9 +2,8 @@
<div class="position: relative;">
<iframe
:src="'/django' + $route.path + queryString"
style="border: 0; margin: -12px"
width="100%"
:height="iFrameHeight + 'px'"
class="iframe-fullsize"
@load="load"
ref="contentIFrame"
></iframe>
......@@ -72,3 +71,11 @@ export default {
name: "LegacyBaseTemplate",
};
</script>
<style scoped>
.iframe-fullsize {
border: 0;
width: calc(100% + 24px);
margin: -12px
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment