Fix expanded card content being clipped on beatmap listing overlay

This commit is contained in:
Bartłomiej Dach 2022-01-19 22:10:05 +01:00
parent d925e44b40
commit 33ab356dc5
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497
1 changed files with 4 additions and 2 deletions

View File

@ -187,8 +187,10 @@ private static ReverseChildIDFillFlowContainer<BeatmapCard> createCardContainerF
Alpha = 0,
Margin = new MarginPadding
{
Vertical = 15,
Bottom = ExpandedContentScrollContainer.HEIGHT
Top = 15,
// the + 20 adjustment is roughly eyeballed in order to fit all of the expanded content height after it's scaled
// as well as provide visual balance to the top margin.
Bottom = ExpandedContentScrollContainer.HEIGHT + 20
},
ChildrenEnumerable = newCards
};