From 06770912873a18b9146cd2485e3e01619aef23bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=91=D0=B0=D1=82=D1=83=D0=B5?= =?UTF-8?q?=D0=B2?= Date: Sat, 18 Apr 2026 12:25:55 +0300 Subject: [PATCH 1/2] fix styles --- src/index.css | 6 ++++++ src/views/apps/ApplicationFrame.vue | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/src/index.css b/src/index.css index 88bc756b..2aac82bb 100644 --- a/src/index.css +++ b/src/index.css @@ -6,3 +6,9 @@ a { svg { fill: currentcolor; } + +main, +.container, +#app > div { + min-height: 100vh; +} \ No newline at end of file diff --git a/src/views/apps/ApplicationFrame.vue b/src/views/apps/ApplicationFrame.vue index c43e5c5f..0f3c3a90 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); +}