Skip to content

Commit

Permalink
fix(webapp): hide browser clear button in search input
Browse files Browse the repository at this point in the history
  • Loading branch information
JoosepAlviste committed Oct 12, 2023
1 parent f20a80b commit 38a26af
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions apps/webapp/src/renderer/global.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,15 @@ globalStyle('*:focus-visible', {
globalStyle('button', {
color: vars.color.textSecondary,
})

globalStyle(
`
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration
`,
{
appearance: 'none',
},
)

0 comments on commit 38a26af

Please sign in to comment.