Update buttons that are inline with search box

There were 3 pages where we had a search button inline with a text box.
This replaces the search button with a button from govuk-frontend and
updates the way we style this button to use BEM, which is the style we
now want to use.
This commit is contained in:
Katie Smith
2020-01-30 11:44:20 +00:00
parent f3bb93f460
commit 7ff8b73088
4 changed files with 28 additions and 18 deletions

View File

@@ -76,20 +76,18 @@
}
.align-button-with-textbox {
.search-form__button {
@include media(desktop) {
position: relative;
top: 32px;
left: -30px;
width: 100%;
margin-right: -30px;
padding-top: 7px;
box-sizing: content-box;
.button {
@include media(desktop) {
position: relative;
&:active {
top: 32px;
left: -30px;
width: 100%;
margin-right: -30px;
padding-top: 8px;
box-sizing: content-box;
}
}
}