Skip to content

Update placeholder to use min-height#9008

Merged
sophie-macmillan merged 1 commit intomainfrom
sm-fix-match-stats-2
Oct 4, 2023
Merged

Update placeholder to use min-height#9008
sophie-macmillan merged 1 commit intomainfrom
sm-fix-match-stats-2

Conversation

@sophie-macmillan
Copy link
Copy Markdown
Contributor

@sophie-macmillan sophie-macmillan commented Oct 4, 2023

What does this change?

Updates the placeholder component to use min-height rather than height. This is so things rendered on the serverside (like getMatchStats) don't break if their content is taller than the placeholder height.

Closes #9006

Screenshots

Before After Server side After Client Side
image image image

…Stats doesn't break as the placeholder is too small
@sophie-macmillan sophie-macmillan requested a review from a team as a code owner October 4, 2023 08:15
@sophie-macmillan sophie-macmillan added the run_chromatic Runs chromatic when label is applied label Oct 4, 2023
@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 4, 2023

Size Change: 0 B 🆕

Total Size: 0 B

compressed-size-action

@sophie-macmillan sophie-macmillan merged commit 3fceac9 into main Oct 4, 2023
@sophie-macmillan sophie-macmillan deleted the sm-fix-match-stats-2 branch October 4, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dotcom-rendering run_chromatic Runs chromatic when label is applied

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Match Stats breaking

3 participants