Skip to content

Commit c3195cc

Browse files
authored
Merge pull request #872 from w3bdesign/871-padding-for-input-field-can-be-added-for-better-ui-experience
871 padding for input field can be added for better UI experience
2 parents 3c8ddc8 + 7d69870 commit c3195cc

File tree

2 files changed

+54
-47
lines changed

2 files changed

+54
-47
lines changed

package-lock.json

Lines changed: 46 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

styles/index.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
margin-top: -20px;
2323
}
2424

25-
/* Fix Algolia mobile-searchbox design issues */
25+
/* Fix Algolia mobile searchbox design issues */
26+
2627
#mobilesearchdiv {
2728
position: absolute;
2829
height: 200px;
@@ -40,4 +41,10 @@
4041
margin-left: 10px;
4142
}
4243

44+
/* Fix Chrome padding issue */
45+
46+
.ais-SearchBox-input[type='search']::-webkit-search-cancel-button {
47+
display: none;
48+
}
49+
4350
@tailwind utilities;

0 commit comments

Comments
 (0)