Closed kr8n3r closed 6 years ago
Seeing duplicated arrows in IE8 through IE11. I believe this is because these browsers do not natively support the <details>
element, and we add the marker using JavaScript. We don't have this problem in GOV.UK Frontend because we've removed that responsibility from the JS.
Annoyingly, that happens over in https://github.com/alphagov/govuk_frontend_toolkit/blob/master/javascripts/govuk/details.polyfill.js#L174-L186
yeah, just 'fixed' that there were styles in the Sass partials for that arrow already
Removes the Firefox hack and replace it with the custom css triangle solution developed in GOV.UK Frontend. Also deletes the _shame.scss file as it's no longer needed.
What problem does the pull request solve?
Fixes a missing open/close indicator on
details
element in Firefox.How has this been tested?
Screenshots (if appropriate):
Firefox:
Other browsers: Preview url: https://govuk-elements-review-pr-611.herokuapp.com/typography/#typography-hidden-text
What type of change is it?
Has the documentation been updated?