From 4e5303b88c15de7935907b45002ab7fb8fc5d0e7 Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Thu, 7 Nov 2024 14:04:09 +1100 Subject: [PATCH] Fix styles on small breakpoint --- packages/edit-site/src/components/style-book/constants.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/edit-site/src/components/style-book/constants.ts b/packages/edit-site/src/components/style-book/constants.ts index 84fb06f33c743e..510fa320dbc879 100644 --- a/packages/edit-site/src/components/style-book/constants.ts +++ b/packages/edit-site/src/components/style-book/constants.ts @@ -252,6 +252,10 @@ export const STYLE_BOOK_IFRAME_STYLES = ` } .edit-site-style-book__example-preview { + width: 100%; + } + + .is-wide .edit-site-style-book__example-preview { width: calc(100% - 120px); }