File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 358
358
359
359
.gem-c-search__input [type = " search" ]::-webkit-search-cancel-button {
360
360
-webkit-appearance : none ;
361
- background-image : url (/assets/govuk_publishing_components/images/icon-close.svg );
361
+ /* Use a relative path so Vite bundles the asset */
362
+ background-image : url (../../static/assets/govuk_publishing_components/images/icon-close.svg );
362
363
background-position : center ;
363
364
background-repeat : no-repeat ;
364
365
cursor : pointer ;
Original file line number Diff line number Diff line change 546
546
height : 40px ;
547
547
margin-right : 10px ;
548
548
flex : none ;
549
- mask-image : url (/assets/govuk_publishing_components/images/icon-autocomplete-search-suggestion.svg );
550
- -webkit-mask-image : url (/assets/govuk_publishing_components/images/icon-autocomplete-search-suggestion.svg );
549
+ /* Use relative paths so Vite bundles the asset */
550
+ mask-image : url (../../static/assets/govuk_publishing_components/images/icon-autocomplete-search-suggestion.svg );
551
+ -webkit-mask-image : url (../../static/assets/govuk_publishing_components/images/icon-autocomplete-search-suggestion.svg );
551
552
background-color : #505a5f ;
552
553
}
553
554
You can’t perform that action at this time.
0 commit comments