Skip to content

Commit

Permalink
fix(Stories): prevent overflow and add ability to scroll huge text in…
Browse files Browse the repository at this point in the history
… story card (#89)
  • Loading branch information
Arucard89 authored Aug 16, 2023
1 parent 8f15fbb commit 8e6df75
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ $textBlockMargin: 16px;
justify-content: center;
flex-direction: column;
margin-bottom: $smallMargin;
overflow: hidden;
}

&__text-header {
Expand All @@ -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;
Expand Down

0 comments on commit 8e6df75

Please sign in to comment.