improve search clear focus state
This commit is contained in:
parent
bb6c15a9a2
commit
a7a3608a9a
|
@ -43,10 +43,17 @@ input[type="search"]:disabled {
|
|||
}
|
||||
|
||||
.is-search .search-clear {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
opacity: 1;
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
.is-search .search-clear:after {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.is-search .search-input {
|
||||
padding-right: 4em;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ export const Search = function() {
|
|||
text: 'Clear search',
|
||||
srOnly: true,
|
||||
iconName: 'cross',
|
||||
style: ['link'],
|
||||
style: ['link', 'line'],
|
||||
title: 'Clear search',
|
||||
classList: ['search-clear'],
|
||||
func: () => {
|
||||
|
|
Loading…
Reference in New Issue