Skip to content

Commit

Permalink
feat(search): support remove icon
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de committed Dec 15, 2024
1 parent f0762d4 commit 7afa8ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/definitions/modules/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
.ui.search.loading > .icon.input > .remove.icon {
display: none;
}
.ui.search > .icon.input > input:-ms-input-placeholder ~ .remove.icon when (@supportIE){
.ui.search > .icon.input > input:-ms-input-placeholder ~ .remove.icon when (@supportIE) {
display: none;
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/themes/default/modules/search.variables
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,11 @@
@clearableIconHeight: @clearableIconWidth;

@clearableIconInputRight: 1.85714em;

/*
* Times icon taken from Font Awesome Free 5.15.4 by @fontawesome [https://fontawesome.com]
* License - https://fontawesome.com/license/free
*/
*/
@clearableIconBackground: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512'%3E%3Cpath d='M242.7 256l100.1-100.1c12.3-12.3 12.3-32.2 0-44.5l-22.2-22.2c-12.3-12.3-32.2-12.3-44.5 0L176 189.3 75.9 89.2c-12.3-12.3-32.2-12.3-44.5 0L9.2 111.5c-12.3 12.3-12.3 32.2 0 44.5L109.3 256 9.2 356.1c-12.3 12.3-12.3 32.2 0 44.5l22.2 22.2c12.3 12.3 32.2 12.3 44.5 0L176 322.7l100.1 100.1c12.3 12.3 32.2 12.3 44.5 0l22.2-22.2c12.3-12.3 12.3-32.2 0-44.5L242.7 256z'/%3E%3C/svg%3E") no-repeat;

/* Category */
Expand Down

0 comments on commit 7afa8ba

Please sign in to comment.