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

D8CORE-6970 | @jdwjdwjdw | Update local footer headlines #926

Merged
merged 7 commits into from
Oct 19, 2023

Conversation

jdwjdwjdw
Copy link

@jdwjdwjdw jdwjdwjdw commented Oct 3, 2023

READY FOR REVIEW

Summary

  • D8CORE-6970: A11y| Footer: H2 displays differently based on location
    • Per related ticket, updating all h2's in the local footer to be 18px, with h3 - h5 updated to 16px.

Needed By (Date)

  • When convenient

Urgency

  • How critical is this PR?

Steps to Test

  1. Checkout branch
  2. Navigate to /admin/config/system/local-footer and fill out all of the fields to match the Amptesting site. Save page and navigate to a page you can view the local footer.
  3. Confirm that all of the h2's in the local footer (including the Content Blocks section) are the same size (18px) and h3-h5's are 16px.
  4. Review code 🦕

Associated Issues and/or People

  • D8CORE-6970: A11y| Footer: H2 displays differently based on location

Comment on lines 241 to 257
.su-local-footer__list-heading {
font-size: 18px;
line-height: 140%;
}

.stanford-local-footer {
&.su-wysiwyg-text {
h2 {
font-size: 18px;
line-height: 140%;
}

h3,
h4,
h5 {
font-size: 16px;
line-height: 140%;
Copy link
Member

Choose a reason for hiding this comment

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

@jdwjdwjdw If you could please just convert the font sizes from px to rem unit, eg, 18px = 1.8rem, this should be good to go. We're trying to avoid px units since those doesn't scale up if user changes their font size setting in the browsers.

Copy link
Author

Choose a reason for hiding this comment

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

@yvonnetangsu sounds good, thanks - should be good to re-review now.

@yvonnetangsu yvonnetangsu self-requested a review October 19, 2023 22:45
Copy link
Member

@yvonnetangsu yvonnetangsu left a comment

Choose a reason for hiding this comment

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

This should be GTG - thanks @jdwjdwjdw ! I'll add a patch label and merge

@yvonnetangsu yvonnetangsu added the patch Releases a patch tag label Oct 19, 2023
@yvonnetangsu yvonnetangsu merged commit a5a0da7 into master Oct 19, 2023
3 checks passed
@yvonnetangsu yvonnetangsu deleted the A11y/D8CORE-6970--local-footer-headlines branch October 19, 2023 22:47
@yvonnetangsu
Copy link
Member

Release is out @jdwjdwjdw 😄
https://github.com/SU-SWS/decanter/releases/tag/6.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Releases a patch tag
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants