Add js-hidden class to globals.scss

It's used by the conditional content pattern
from GOV.UK Elements (which uses JS from the
GOV.UK Frontend Toolkit).
This commit is contained in:
Tom Byers
2019-10-24 14:58:47 +01:00
parent 32eaebbe1e
commit 3109f733ff

View File

@@ -12,6 +12,10 @@ abbr[title] {
cursor: help;
}
.js-enabled .js-hidden {
display: none;
}
// To be removed when all search inputs use the GOV.UK Frontend text input component:
// https://design-system.service.gov.uk/components/text-input/
/*