Skip to content

Commit f1b35fa

Browse files
committed
Make search styles less specific
- make input search variant styles less specific as not needed, this class occurs after we've imported govuk-frontend so there's no need to make the styles so specific
1 parent 7460b32 commit f1b35fa

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
## Unreleased
1111

12+
* Make input search styles less specific ([PR #5282](https://github.com/alphagov/govuk_publishing_components/pull/5282))
1213
* Add back search input spacing override ([PR #5280](https://github.com/alphagov/govuk_publishing_components/pull/5280))
1314

1415
## 64.1.0

app/assets/stylesheets/govuk_publishing_components/components/_input.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ $search-icon-size: 40px;
1515
background: url("govuk_publishing_components/icon-search.svg") no-repeat -3px center;
1616
}
1717

18-
.gem-c-input.govuk-input {
19-
&.gem-c-input--with-search-icon {
20-
padding-left: govuk-spacing(6);
21-
}
18+
.gem-c-input--with-search-icon {
19+
padding-left: govuk-spacing(6);
2220
}

0 commit comments

Comments
 (0)