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

Refactor templates markup #7411

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Refactor templates markup #7411

wants to merge 5 commits into from

Conversation

nick-mon1
Copy link
Contributor

@nick-mon1 nick-mon1 commented Mar 11, 2024

Summary

Removes un-necessary grid tags, classes and duplicate grid styles to simplify template markup.

Preview

Link to Preview

Solution

  • Removed duplicate grid-container classes and replaced with one top parent
  • Removed un-necessary grid-row classes when not needed (events/single.html)
  • Removed un-necessary div tags
  • Improved header spacing on events landing pages

Layout Enhancements

events/list.html

Removed equal spacing for header Screen Shot 2024-03-11 at 4 53 59 PM

authors/list.html

Increased spacing below button Screenshot 2024-03-14 at 4 55 53 PM
Increased spacing above name Screenshot 2024-03-14 at 4 57 48 PM

authors/terms.html

Increased spacing above title Screenshot 2024-03-14 at 4 58 56 PM

How To Test

  1. First Step
  2. Second Step
  3. Third Step

Dev Checklist

  • PR has correct labels
  • A11y testing (voice over testing, meets WCAG, run axe tools)
  • Code is formatted properly

Copy link

🔍 Preview in Federalist

nick-mon1 and others added 4 commits March 11, 2024 15:34
- [x] Removed duplicate `grid-container` classes and replaced with one top parent
- [x] Removed un-necessary `grid-row` classes when not needed (events/single.html)
- [x] Removed un-necessary `div` tags
- [x] Improved header spacing on events landing pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants