Closed trevorsaint closed 5 years ago
Due to a bug in govuk-frontend I can’t use js-hidden effectively.
I think they are missing:
.js-enabled .js-hidden
So, for now, I have created a utility class called 'app-js-hidden' and applied it like so:
.js-enabled .app-js-hidden { display: none; }
When JS has been turned off, code snippets are being shown as expected.
Due to a bug in govuk-frontend I can’t use js-hidden effectively.
I think they are missing:
.js-enabled .js-hidden
So, for now, I have created a utility class called 'app-js-hidden' and applied it like so:
When JS has been turned off, code snippets are being shown as expected.