Skip to content

Commit

Permalink
Merge pull request #92 from BrightspaceUI/fix-search-safari [incremen…
Browse files Browse the repository at this point in the history
…t patch]

fixing search input in Safari
  • Loading branch information
dlockhart authored Sep 25, 2019
2 parents fde2819 + 233c7cd commit 6d47cf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions d2l-input-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $_documentContainer.innerHTML = `<dom-module id="d2l-input-search">
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
-webkit-appearance: textfield;
}
:host(:dir(rtl)) input[type="search"].d2l-input {
Expand Down
3 changes: 2 additions & 1 deletion d2l-input-shared-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ $_documentContainer.innerHTML = `<dom-module id="d2l-input-styles">
textarea.d2l-input:disabled {
@apply --d2l-input-disabled;
}
input.d2l-input::-webkit-search-cancel-button {
input.d2l-input::-webkit-search-cancel-button,
input.d2l-input::-webkit-search-decoration {
display: none;
}
input.d2l-input::-ms-clear {
Expand Down

0 comments on commit 6d47cf3

Please sign in to comment.