From 45a8686c07811b8cc81cc717abad244a8771b631 Mon Sep 17 00:00:00 2001 From: Roman Vyakhirev Date: Thu, 12 Oct 2023 16:08:33 +0200 Subject: [PATCH] fix(atlas-core): fix excessive scrollbars of scroll containers in design mode --- packages/atlas-core/CHANGELOG.md | 4 ++++ packages/atlas-core/package.json | 2 +- .../atlas_core/web/core/widgets/_scroll-container-react.scss | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/atlas-core/CHANGELOG.md b/packages/atlas-core/CHANGELOG.md index 60fe6c877..9e819ddd4 100644 --- a/packages/atlas-core/CHANGELOG.md +++ b/packages/atlas-core/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Fixed + +- We fixed an issue with Scroll Container sidebar having unwanted scrollbars in the modern client. + ## [3.12.0] Atlas Core - 2023-9-22 ## Added diff --git a/packages/atlas-core/package.json b/packages/atlas-core/package.json index 4077392d9..891b44e86 100644 --- a/packages/atlas-core/package.json +++ b/packages/atlas-core/package.json @@ -1,7 +1,7 @@ { "name": "atlas-core", "moduleName": "Atlas Core", - "version": "3.12.0", + "version": "3.12.1", "license": "Apache-2.0", "copyright": "© Mendix Technology BV 2022. All rights reserved.", "repository": { diff --git a/packages/atlas/src/themesource/atlas_core/web/core/widgets/_scroll-container-react.scss b/packages/atlas/src/themesource/atlas_core/web/core/widgets/_scroll-container-react.scss index ef44b3427..3ec10f98a 100644 --- a/packages/atlas/src/themesource/atlas_core/web/core/widgets/_scroll-container-react.scss +++ b/packages/atlas/src/themesource/atlas_core/web/core/widgets/_scroll-container-react.scss @@ -132,6 +132,7 @@ .mx-scrollcontainer-push:not(.mx-scrollcontainer-open) > .mx-scrollcontainer-toggleable, .mx-scrollcontainer-slide:not(.mx-scrollcontainer-open) > .mx-scrollcontainer-toggleable { flex-basis: var(--closed-sidebar-width, 0px); + overflow: clip; } // For open sidebar - full width