diff --git a/src/index.css b/src/index.css index 88bc756..955684c 100644 --- a/src/index.css +++ b/src/index.css @@ -6,3 +6,9 @@ a { svg { fill: currentcolor; } + +main, +.container, +#app > div { + min-height: 100vh; +} diff --git a/src/views/apps/ApplicationFrame.vue b/src/views/apps/ApplicationFrame.vue index c43e5c5..0f3c3a9 100644 --- a/src/views/apps/ApplicationFrame.vue +++ b/src/views/apps/ApplicationFrame.vue @@ -192,16 +192,29 @@ onMounted(async () => { appState.value = AppState.Error; } }); + +function addIframeStyles() { + const iframeDoc = ref(); + const style = iframeDoc.value.createElement('style'); + style.textContent = ` + main, .container, #app > div { + min-height: 100vh; + } + `; + iframeDoc.value.head.appendChild(style); +}