Skip to content

fix(css): prevent userlist and home grid from shrinking on large displays#30

Merged
FreekBes merged 3 commits into
codam-coding-college:masterfrom
CheapFuck:fix/large-screen-scaling
Jun 24, 2026
Merged

fix(css): prevent userlist and home grid from shrinking on large displays#30
FreekBes merged 3 commits into
codam-coding-college:masterfrom
CheapFuck:fix/large-screen-scaling

Conversation

@CheapFuck

@CheapFuck CheapFuck commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

The .userlist rule declared grid-template-columns twice, the second being an invalid grid-template-columns: 3; (a bare number is not a valid track list) that browsers discard. The effective rule was repeat(auto-fit, minmax(360px, 1fr)) with no width cap, so on ultra-wide and 4K displays at 100% OS scale the list expanded to ~10 tiny columns, making photos and text hard to read. The home grid had the same unbounded-width problem.

Remove the dead invalid declaration and cap both grids' width (userlist 1800px, home grid 1600px, centered) so large screens keep a comfortable, readable card size.

…lays

The .userlist rule declared grid-template-columns twice, the second
being an invalid `grid-template-columns: 3;` (a bare number is not a
valid track list) that browsers discard. The effective rule was
repeat(auto-fit, minmax(360px, 1fr)) with no width cap, so on ultra-wide
and 4K displays at 100% OS scale the list expanded to ~10 tiny columns,
making photos and text hard to read. The home grid had the same
unbounded-width problem.

Remove the dead invalid declaration and cap both grids' width
(userlist 1800px, home grid 1600px, centered) so large screens keep a
comfortable, readable card size.
@CheapFuck CheapFuck changed the title fix(css): prevent userlist and home grid from shrinking on large disp… fix(css): prevent userlist and home grid from shrinking on large displays Jun 21, 2026
@FreekBes
FreekBes merged commit 5658adf into codam-coding-college:master Jun 24, 2026
1 check passed
@Codam-IT

Copy link
Copy Markdown

🎉 This PR is included in version 2.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@FreekBes FreekBes added the bug Something isn't working label Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants