diff --git a/assets/stylesheets/components/_search_field.scss b/assets/stylesheets/components/_search_field.scss index e9dba520d..0e23b581a 100644 --- a/assets/stylesheets/components/_search_field.scss +++ b/assets/stylesheets/components/_search_field.scss @@ -13,7 +13,7 @@ $input-size: 40px; position: relative; display: flex; flex: 0 $input-size; - margin: 4px 0 7px 0; + margin: 7px 0 7px 0; input { // overly specific to prevent some overrides from outside diff --git a/assets/stylesheets/components/_streamfield-content.scss b/assets/stylesheets/components/_streamfield-content.scss index a998a7ee1..a9b2ba700 100644 --- a/assets/stylesheets/components/_streamfield-content.scss +++ b/assets/stylesheets/components/_streamfield-content.scss @@ -1,4 +1,6 @@ .ws-streamfield-content { + max-inline-size: 75ch; + h3 { @extend %govuk-heading-s; } diff --git a/assets/stylesheets/govuk-overrides/header.scss b/assets/stylesheets/govuk-overrides/header.scss index 4703d964a..d325f1754 100644 --- a/assets/stylesheets/govuk-overrides/header.scss +++ b/assets/stylesheets/govuk-overrides/header.scss @@ -30,6 +30,9 @@ .site-search .search-form input { border: 2px solid govuk-colour("black");; } + .site-search .search-form { + margin: 4px 0 7px 0; + } } .govuk-header { diff --git a/src/core/templates/base.html b/src/core/templates/base.html index b11f50b1d..596b869d5 100644 --- a/src/core/templates/base.html +++ b/src/core/templates/base.html @@ -70,7 +70,8 @@ {% block libraries %} {% endblock libraries %} - + {% if settings.GTM_CODE %}