From 19823e8ac14e665256a8cb5fcc5a29bed20a9103 Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Thu, 24 Oct 2019 14:58:47 +0100 Subject: [PATCH] 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). --- app/assets/stylesheets/globals.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/globals.scss b/app/assets/stylesheets/globals.scss index fdca7d86d..cd4aa1335 100644 --- a/app/assets/stylesheets/globals.scss +++ b/app/assets/stylesheets/globals.scss @@ -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/ /*