Allow household switcher reordering #3
@ -3,14 +3,12 @@ export default function ListSearchInput({ value, onChange, resultCount, totalCou
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="glist-search">
|
<div className="glist-search">
|
||||||
<label className="glist-search-label" htmlFor="grocery-list-search">
|
|
||||||
Search list
|
|
||||||
</label>
|
|
||||||
<div className="glist-search-row">
|
<div className="glist-search-row">
|
||||||
<input
|
<input
|
||||||
id="grocery-list-search"
|
id="grocery-list-search"
|
||||||
className="glist-search-input"
|
className="glist-search-input"
|
||||||
type="search"
|
type="search"
|
||||||
|
aria-label="Search list"
|
||||||
value={value}
|
value={value}
|
||||||
onChange={(event) => onChange(event.target.value)}
|
onChange={(event) => onChange(event.target.value)}
|
||||||
placeholder="Search list"
|
placeholder="Search list"
|
||||||
|
|||||||
@ -358,14 +358,6 @@
|
|||||||
margin: var(--spacing-xs) 0 var(--spacing-sm);
|
margin: var(--spacing-xs) 0 var(--spacing-sm);
|
||||||
}
|
}
|
||||||
|
|
||||||
.glist-search-label {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 4px;
|
|
||||||
color: var(--color-text-secondary);
|
|
||||||
font-size: var(--font-size-sm);
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glist-search-row {
|
.glist-search-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user