mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 21:13:13 -04:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user