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

<strong> is overridden #332

Closed
dashouse opened this issue Dec 19, 2016 · 3 comments
Closed

<strong> is overridden #332

dashouse opened this issue Dec 19, 2016 · 3 comments

Comments

@dashouse
Copy link

Using in an HTML doc renders as font-weight: normal; Reset appears to be overriding styles within govuk-template?

screen shot 2016-12-19 at 11 41 15

@joelanman
Copy link
Contributor

you can try the bold class alphagov/govuk_elements#321

@dashouse
Copy link
Author

dashouse commented Dec 19, 2016

Using the class of bold works on a newly downloaded version of the kit (although not on my prototype).

Even on the latest version <b> and <strong> aren't working as expected

screen shot 2016-12-19 at 14 51 52

@selfthinker
Copy link
Contributor

I think it is intentional that <strong> doesn't style anything. That behaves consistently the same way <h1>, <li> etc do. Most things are not styled without additional classes in GOV.UK Elements (which the prototype kit uses).

As I personally like to have my basic elements styled automatically, I tried to solve it in Elements via an additional container class which will also style <strong> automatically. See alphagov/govuk_elements#382.

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

No branches or pull requests

3 participants