Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #68: fix weird extra space in game cards #73

Merged
merged 7 commits into from
Aug 23, 2024

Conversation

LswaN58
Copy link
Member

@LswaN58 LswaN58 commented Aug 23, 2024

This pull request resolves #68 by adjusting the calculations for card image heights and widths.

Additionally, it pulls out a fair bit of SCSS source into separate files for easier management in case of future styling work.

Auto-width fucks up the card heights, so get rid of that shit.
Not sure how it actually causes the issue, best guess is it's doing
something with image widths, getting biggest, and scaling the cards
vertically so the widest image is full-width prior to cropping to 25%
width for the card itself? Whatever the case, it was pretty fucking bad.

For the breakpoint stuff, just trying to make the images less likely to
fight for space with the text content at smaller screen sizes.
@LswaN58 LswaN58 added the bug Something isn't working label Aug 23, 2024
@LswaN58 LswaN58 self-assigned this Aug 23, 2024
@LswaN58 LswaN58 linked an issue Aug 23, 2024 that may be closed by this pull request
Copy link
Member Author

@LswaN58 LswaN58 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good upon review

@LswaN58 LswaN58 merged commit 7020a17 into master Aug 23, 2024
1 check passed
@LswaN58 LswaN58 deleted the 68-fix-weird-extra-space-in-game-cards branch August 23, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix weird extra space in game cards
1 participant