From 09ff7372da9c2630024cecebe43f2feca3133fcc Mon Sep 17 00:00:00 2001 From: Eva Marco Date: Thu, 6 Mar 2025 12:29:48 +0100 Subject: [PATCH] =?UTF-8?q?:bug:=20Fix=20scroll=20on=20storybook=20doc=20f?= =?UTF-8?q?iles=C3=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.md | 3 ++- .../resources/styles/common/dependencies/storybook.scss | 9 +++++++++ frontend/resources/styles/main-default.scss | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 frontend/resources/styles/common/dependencies/storybook.scss diff --git a/CHANGES.md b/CHANGES.md index f6316a330..42366717d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -12,8 +12,9 @@ ### :bug: Bugs fixed +- Fix scroll on storybook docs [taiga #9962](https://tree.taiga.io/project/penpot/issue/9962) - Navigate tracking event firing multiple times [Taiga #10415](https://tree.taiga.io/project/penpot/issue/10415) -- Fix problem with selection colors [Taiga #](https://tree.taiga.io/project/penpot/issue/10376) +- Fix problem with selection colors [Taiga #10376](https://tree.taiga.io/project/penpot/issue/10376) ## 2.5.1 diff --git a/frontend/resources/styles/common/dependencies/storybook.scss b/frontend/resources/styles/common/dependencies/storybook.scss new file mode 100644 index 000000000..87cede4a6 --- /dev/null +++ b/frontend/resources/styles/common/dependencies/storybook.scss @@ -0,0 +1,9 @@ +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// +// Copyright (c) KALEIDOS INC + +.sb-show-main.sb-main-fullscreen { + overflow-y: auto; +} diff --git a/frontend/resources/styles/main-default.scss b/frontend/resources/styles/main-default.scss index dfd83571d..341606c7e 100644 --- a/frontend/resources/styles/main-default.scss +++ b/frontend/resources/styles/main-default.scss @@ -13,6 +13,7 @@ @import "common/dependencies/fonts"; @import "common/dependencies/animations"; @import "common/dependencies/highlight.scss"; +@import "common/dependencies/storybook.scss"; @import "common/refactor/themes.scss"; @import "common/refactor/design-tokens.scss";