From 35854171fceed8d860622c0a6703863e2b2c782e Mon Sep 17 00:00:00 2001 From: Kirill Revenkov Date: Wed, 16 Aug 2023 11:14:27 +0300 Subject: [PATCH] fix: prevent overflow and add ability to scroll text in story card --- .../Stories/components/StoriesLayout/StoriesLayout.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Stories/components/StoriesLayout/StoriesLayout.scss b/src/components/Stories/components/StoriesLayout/StoriesLayout.scss index 80b11969..ef438e62 100644 --- a/src/components/Stories/components/StoriesLayout/StoriesLayout.scss +++ b/src/components/Stories/components/StoriesLayout/StoriesLayout.scss @@ -88,6 +88,7 @@ $textBlockMargin: 16px; justify-content: center; flex-direction: column; margin-bottom: $smallMargin; + overflow: hidden; } &__text-header { @@ -98,6 +99,7 @@ $textBlockMargin: 16px; &__text-content { @include mixins.text-body-2(); color: var(--g-color-text-complementary); + overflow-y: scroll; #{$block}__text-header + & { margin-top: $textBlockMargin;