From f5c29519fb5af3aade946424582a39ea31060855 Mon Sep 17 00:00:00 2001 From: Reorx Date: Sun, 12 Feb 2023 02:52:16 +0800 Subject: [PATCH] editor: set a fixed width to iframe to avoid responsive styles --- src/scss/editor/index.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scss/editor/index.scss b/src/scss/editor/index.scss index d77fa77..46e532f 100644 --- a/src/scss/editor/index.scss +++ b/src/scss/editor/index.scss @@ -78,7 +78,8 @@ button { } .output-html { - width: 100%; + // set a fixed size so that responsive styles won't be applied in the iframe + width: 801px; height: 100%; }