From c3957c6dc287a7d1d5eedc9cbcffe242629ee71b Mon Sep 17 00:00:00 2001 From: Alistair Laing Date: Fri, 4 Jan 2019 15:26:55 +0000 Subject: [PATCH] fixes IE8 issue with "+/-" icons not being toggled For IE8 css pseudo elements, we needed to force a repaint to toggle the icons. This is done by using CSS content property. https://stackoverflow.com/questions/8703799/forcing-ie8-to-rerender-repaint-before-after-pseudo-elements --- src/components/accordion/_accordion.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/accordion/_accordion.scss b/src/components/accordion/_accordion.scss index 07a255f313..0af5965666 100644 --- a/src/components/accordion/_accordion.scss +++ b/src/components/accordion/_accordion.scss @@ -166,6 +166,7 @@ // Vertical bar should be hidden when section is open, to display a '-' icon .govuk-accordion__section--expanded .govuk-accordion__icon:after { + content: " "; display: none; } }