diff --git a/ds_judgements_public_ui/sass/includes/_search.scss b/ds_judgements_public_ui/sass/includes/_search.scss index b41b9409d..975badb71 100644 --- a/ds_judgements_public_ui/sass/includes/_search.scss +++ b/ds_judgements_public_ui/sass/includes/_search.scss @@ -54,8 +54,18 @@ padding-right: calc($spacer__unit * 3); } - &__search-term-label { + &__search-term-label.desktop { + @media (max-width: $grid__breakpoint-medium) { + display: none; + } @include sr-only; + + } + + &__search-term-label.mobile { + @media (min-width: $grid__breakpoint-medium) { + display: none; + } } &__search-term-input { @@ -75,6 +85,18 @@ @media (min-width: $grid__breakpoint-extra-large) { width: 35rem; } + + &.mobile { + @media (min-width: $grid__breakpoint-medium) { + display: none; + } + } + + &.desktop { + @media (max-width: $grid__breakpoint-medium) { + display: none; + } + } } input[type=checkbox] { diff --git a/ds_judgements_public_ui/templates/includes/basic_search_form.html b/ds_judgements_public_ui/templates/includes/basic_search_form.html index f26ca2f9b..d19e95722 100644 --- a/ds_judgements_public_ui/templates/includes/basic_search_form.html +++ b/ds_judgements_public_ui/templates/includes/basic_search_form.html @@ -4,8 +4,10 @@

{% translate "basicsearchform.title" %}