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

Explicitly set font weight on warning-text component #1585

Merged
merged 2 commits into from
Sep 23, 2019

Commits on Sep 23, 2019

  1. Explicitly set font weight of warning-text

    Explicitly set the font-weight of the warning text component, and move the font styles to the __text element (the __icon element has its own size, weight and colour)
    
    Warning text is otherwise only bold because of the user-agent styling of <strong> elements. When used with GOV.UK Elements, which includes a reset stylesheet, the font-weight is reset to normal, which means the warning text is currently set in a normal weight.
    36degrees committed Sep 23, 2019
    Configuration menu
    Copy the full SHA
    126ad34 View commit details
    Browse the repository at this point in the history
  2. Document in changelog

    36degrees committed Sep 23, 2019
    Configuration menu
    Copy the full SHA
    892fda1 View commit details
    Browse the repository at this point in the history