From 1ff558826c62508edf53977b586b60ada4ad24a8 Mon Sep 17 00:00:00 2001 From: Reorx Date: Tue, 14 Feb 2023 17:02:12 +0800 Subject: [PATCH] remove border in preview, add border to iframe in editor --- src/preview/index.html | 5 ----- src/scss/editor/index.scss | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/preview/index.html b/src/preview/index.html index edd113e..f963304 100644 --- a/src/preview/index.html +++ b/src/preview/index.html @@ -3,11 +3,6 @@ CV - diff --git a/src/scss/editor/index.scss b/src/scss/editor/index.scss index f70ee77..5b9bc09 100644 --- a/src/scss/editor/index.scss +++ b/src/scss/editor/index.scss @@ -113,8 +113,10 @@ button { .output-html { // set a fixed size so that responsive styles won't be applied in the iframe - width: 801px; + width: 795px; // 210mm ≈ 793px height: 100%; + margin: 0; padding: 0; border: 0; + border-right: 1px solid var(--grey-2); } .output-json {