From e6e01c6ec5b2bee9ab3a4a9425276ad4f1840c20 Mon Sep 17 00:00:00 2001 From: Chris Villa Date: Wed, 3 Apr 2024 22:58:07 +0200 Subject: [PATCH] fix: use more custom interface friendly styles for iframes --- .../core/components/Puck/components/Preview/styles.module.css | 2 +- packages/core/styles.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/core/components/Puck/components/Preview/styles.module.css b/packages/core/components/Puck/components/Preview/styles.module.css index 42ad09f5d8..bb2bf44fbf 100644 --- a/packages/core/components/Puck/components/Preview/styles.module.css +++ b/packages/core/components/Puck/components/Preview/styles.module.css @@ -4,6 +4,6 @@ .PuckPreview-frame { border: none; - height: 100%; + min-height: 100%; width: 100%; } diff --git a/packages/core/styles.css b/packages/core/styles.css index fa6897b23f..9a9a161055 100644 --- a/packages/core/styles.css +++ b/packages/core/styles.css @@ -1,3 +1,7 @@ @import url("https://rsms.me/inter/inter.css"); @import "./styles/color.css"; @import "./styles/typography.css"; + +.Puck { + min-height: 100%; +}