Dynamic columns in resume-skills block#3260
Conversation
✅ Deploy Preview for academic-demo canceled.
|
|
@srgg please rebase / resolve conflicts. Thx |
716673c to
20c52e4
Compare
Implement configurable columns parameter (default 2) with progressive responsive grid: 1→2→3→4→5 columns across breakpoints. Replace the fixed flex layout with CSS Grid for better multi-column control.
20c52e4 to
50a1905
Compare
|
Thanks, I'll merge and we can trial it out and see what user feedback we get. Most users likely won't customise the grid, and some users who do may complain that they set the value to '5', for example, but didn't see 5 columns (intentionally by design, to prioritise responsiveness for end user). |
@gcushen Honestly, I needed three columns, but I decided to add support for five, just in case, considering that should be more than enough even on retina displays. Thank you for the review. |
NOTE: This PR depends on changes from #3259
Purpose
Add dynamic columns configuration to the resume-skills block with responsive breakpoints.
Uses standard design.columns parameter (default 2) that creates a progressive responsive grid layout: 1→2→3→4→5 columns across breakpoints (sm→md→lg→xl→2xl). Replaces fixed 2-column flex layout with CSS Grid for better multi-column control and flexibility.
Testing
Ensure setting three columns in
experience.md:Add a third item with several sub-items under skills:
Screenshots
Large screen:
Medium:

Small:

Documentation
Uses the standard design.columns parameter is available across Hugo Blox blocks. No additional documentation changes required as this follows existing design parameter conventions.