From bc33755f3f54c2fa73b1ae72e45fe83d0e35c9ca Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Wed, 22 May 2024 12:13:39 +0200 Subject: [PATCH] Fix Preview Window width We were recently fixing the transition of the width animation, but wasn't using the correct variable for the large viewport. (cherry picked from commit c423ef0b98df80f91e2f14cbdcf11e0f2cb322d1) --- app/assets/stylesheets/alchemy/preview_window.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/alchemy/preview_window.scss b/app/assets/stylesheets/alchemy/preview_window.scss index 481adc0696..db4e1eeb9a 100644 --- a/app/assets/stylesheets/alchemy/preview_window.scss +++ b/app/assets/stylesheets/alchemy/preview_window.scss @@ -21,7 +21,7 @@ @media screen and (min-width: $large-screen-break-point) { width: calc( - 100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-min-width} + 100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-width} ); } }