Skip to content

Commit 9e81308

Browse files
committed
refactor: update tag delete button color
1 parent cb71864 commit 9e81308

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

js/src/multi-select.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ class MultiSelect extends BaseComponent {
512512
tag.innerHTML = text
513513

514514
const closeBtn = document.createElement('button')
515-
closeBtn.classList.add(CLASS_NAME_TAG_DELETE, 'close')
515+
closeBtn.classList.add(CLASS_NAME_TAG_DELETE, 'text-medium-emphasis')
516516
closeBtn.setAttribute('aria-label', 'Close')
517517
closeBtn.innerHTML = '<span aria-hidden="true">&times;</span>'
518518

@@ -524,8 +524,6 @@ class MultiSelect extends BaseComponent {
524524

525525
tag.remove()
526526
this._deselectOption(value)
527-
// this._updateOptionsList()
528-
// this._updateSearch()
529527
})
530528

531529
return tag

scss/forms/_form-multi-select.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213
.form-multi-select-tag-delete {
214214
padding: 0;
215215
margin-left: 6px;
216+
background-color: transparent;
216217
border: 0;
217218
}
218219

0 commit comments

Comments
 (0)