Skip to content

Commit

Permalink
Remove default 'x' icon for search input fields in chrome browser
Browse files Browse the repository at this point in the history
Signed-off-by: Shiva <[email protected]>
  • Loading branch information
shiva-beehyv committed Apr 3, 2024
1 parent cbe519d commit 6ca9eb1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inji-web/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}

/*The following changes are to remove default 'x' button that appears in a input field of type search in chrome browser*/
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 { display: none; }

0 comments on commit 6ca9eb1

Please sign in to comment.