From 73a2d2e9acc86a31624034196095760255747682 Mon Sep 17 00:00:00 2001 From: Jordan Vidrine <30537603+jordanvidrine@users.noreply.github.com> Date: Fri, 2 Sep 2022 11:28:11 -0500 Subject: [PATCH] UX: Fix width of preview pane to fix scroll (#18166) --- .../javascripts/wizard/addon/components/homepage-preview.js | 2 +- .../javascripts/wizard/addon/components/styling-preview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/wizard/addon/components/homepage-preview.js b/app/assets/javascripts/wizard/addon/components/homepage-preview.js index 6a1a09208b9..3dcf3060d79 100644 --- a/app/assets/javascripts/wizard/addon/components/homepage-preview.js +++ b/app/assets/javascripts/wizard/addon/components/homepage-preview.js @@ -4,7 +4,7 @@ import { darkLightDiff, } from "wizard/lib/preview"; -export default createPreviewComponent(342, 322, { +export default createPreviewComponent(628, 322, { logo: null, avatar: null, diff --git a/app/assets/javascripts/wizard/addon/components/styling-preview.js b/app/assets/javascripts/wizard/addon/components/styling-preview.js index 6db712327dc..cfe53afb0c6 100644 --- a/app/assets/javascripts/wizard/addon/components/styling-preview.js +++ b/app/assets/javascripts/wizard/addon/components/styling-preview.js @@ -13,7 +13,7 @@ Nullam eget sem non elit tincidunt rhoncus. Fusce velit nisl, porttitor sed nisl ac, consectetur interdum metus. Fusce in consequat augue, vel facilisis felis.`; -export default createPreviewComponent(642, 322, { +export default createPreviewComponent(628, 322, { logo: null, avatar: null, previewTopic: true,