Skip to content

Commit

Permalink
Cap scrollable medium visible stories to 8 (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM authored Jan 21, 2025
1 parent 38c2b7e commit 592b7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/slices/ScrollableContainer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object ScrollableSmall extends ScrollableContainer {

object ScrollableMedium extends ScrollableContainer {
def storiesVisible(stories: Seq[Story]): Int = {
stories.size min 6
stories.size min 8
}
}

Expand Down

0 comments on commit 592b7e9

Please sign in to comment.