From 9f25df8b890679ed5c7ef5a4e7f47650ab685afd Mon Sep 17 00:00:00 2001 From: Justineo Date: Fri, 6 May 2022 12:52:23 +0800 Subject: [PATCH] fix: only apply iframe for demos with browser window --- components/OneLive.vue | 14 +++++++++++++- components/OneRepl.vue | 3 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/components/OneLive.vue b/components/OneLive.vue index 4c7bab0..04ba1eb 100644 --- a/components/OneLive.vue +++ b/components/OneLive.vue @@ -68,7 +68,10 @@ 'live-preview-browser': browser }" > - + + >> .live-preview + padding 24px 36px + & >>> .VueLive-error display none