-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
framework/gatsbyGatsby relatedGatsby relatedhelp wantedExtra attention is neededExtra attention is neededkind/bugSomething isn't workingSomething isn't working
Description
Description
Resource cards truncate key text (title) too aggressively and have inconsistent overflow/spacing behavior.
Expected Behavior
- Title horizontal spacing
- Reduce left/right padding (or margin) to 1rem for the post-title line(s) only
- Keep existing padding/margins for all other card content
- Title overflow
- Allow post-title to wrap up to 2 lines
- If overflow remains, apply ellipsis (…) after line 2
- Date/byline overflow
- Keep date + byline on a single line
- Apply
ellipsison overflow (no wrapping)
- Bottom spacing
- Ensure “See also” never touches the bottom of the card
- Maintain at least 1rem of bottom padding inside the card at all times
Screenshots
Environment:
- Host OS:
- Browser:
Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.
- 📚 See contributing instructions.
- 🎨 Wireframes and designs for Layer5 site in Figma (open invite)
- 🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack.
Join the Layer5 Community by submitting your community member form.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
framework/gatsbyGatsby relatedGatsby relatedhelp wantedExtra attention is neededExtra attention is neededkind/bugSomething isn't workingSomething isn't working