From 440bc083713ef5931828c74edd259e120afa5fe8 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Tue, 21 Nov 2023 10:21:13 +0000 Subject: [PATCH] Tweak search field --- .../components/search-field/search-field.scss | 2 +- .../components/search-field/template.njk | 29 ++++++++++++------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/src/nationalarchives/components/search-field/search-field.scss b/src/nationalarchives/components/search-field/search-field.scss index 986fcc71..89ac3c3e 100644 --- a/src/nationalarchives/components/search-field/search-field.scss +++ b/src/nationalarchives/components/search-field/search-field.scss @@ -4,7 +4,7 @@ .tna-search-field { &__fields { - margin-top: 1rem; + // margin-top: 1rem; display: flex; align-self: stretch; diff --git a/src/nationalarchives/components/search-field/template.njk b/src/nationalarchives/components/search-field/template.njk index 37596fcc..6133a398 100644 --- a/src/nationalarchives/components/search-field/template.njk +++ b/src/nationalarchives/components/search-field/template.njk @@ -2,23 +2,30 @@ {%- set containerClasses = [params.formGroupClasses] if params.formGroupClasses else [] -%}
- - - - {%- if params.hint %} -

- {{ params.hint }} -

- {%- endif %} +
+ + + + {%- if params.hint %} +

+ {{ params.hint }} +

+ {%- endif %} +
- +