From f9b9f0993aef182f8680442c6b4cbe2b999b8d57 Mon Sep 17 00:00:00 2001 From: Charles Prichard Date: Thu, 14 Sep 2023 11:52:45 +0100 Subject: [PATCH] fixes for accordions --- additional_codes/forms.py | 4 ++-- measures/forms.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/additional_codes/forms.py b/additional_codes/forms.py index c943531f3..ec1a0d9c5 100644 --- a/additional_codes/forms.py +++ b/additional_codes/forms.py @@ -269,10 +269,10 @@ def __init__(self, *args, **kwargs): ), css_class="govuk-grid-column-full govuk-button-group govuk-!-padding-top-6", ), - css_class="govuk-grid-row govuk-!-padding-top-3", + css_class="govuk-grid-row govuk-!-padding-top-3 govuk-accordion__section--expanded", ), ), - css_class="govuk-grid-row govuk-!-padding-3 govuk-accordion__section--expanded", + css_class="govuk-grid-row govuk-!-padding-3", ), ) diff --git a/measures/forms.py b/measures/forms.py index 159afd749..5e36474e8 100644 --- a/measures/forms.py +++ b/measures/forms.py @@ -853,10 +853,10 @@ def __init__(self, *args, **kwargs): ), css_class="govuk-grid-column-full govuk-button-group govuk-!-padding-top-6", ), - css_class="govuk-grid-row govuk-!-padding-top-3", + css_class="govuk-grid-row govuk-!-padding-top-3 govuk-accordion__section--expanded", ), ), - css_class="govuk-grid-row govuk-!-padding-3 govuk-accordion__section--expanded", + css_class="govuk-grid-row govuk-!-padding-3", ), ), )