Skip to content

Commit

Permalink
Merge pull request #2889 from AlchemyCMS/backport/7.0-stable/pr-2887
Browse files Browse the repository at this point in the history
[7.0-stable] Fix preview window width for smaller viewports
  • Loading branch information
tvdeyen committed May 23, 2024
2 parents 3794ce4 + ec06115 commit 12f5fe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/alchemy/preview_window.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

.collapsed-menu.elements-window-visible & {
width: calc(
100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-width}
100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-min-width}
);

@media screen and (min-width: $large-screen-break-point) {
@media screen and (min-width: 1777px) {
width: calc(
100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-width}
);
Expand Down

0 comments on commit 12f5fe0

Please sign in to comment.