Skip to content

Commit 780d484

Browse files
committed
Theme color agnostic 'X' / 'Clear' button
The button 'X' to clear search input was not visible on clients using light themes... added static color attribute to the 'X' button making it theme/color agnostic
1 parent 4c9d939 commit 780d484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function Search({ searchBarWrapperStyles }: SearchProps) {
4343
type="button"
4444
onClick={() => reset()}
4545
>
46-
<GoX />
46+
<GoX color='white'/>
4747
</button>
4848
</div>
4949
</form>

0 commit comments

Comments
 (0)