Skip to content

Commit

Permalink
Apply font-size: 0 to select element
Browse files Browse the repository at this point in the history
  • Loading branch information
kodie committed Oct 11, 2023
1 parent 9c8e16a commit 9d32ad7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/nice-select2.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ NiceSelect.prototype.create = function() {
this.el.style.width = "0";
this.el.style.padding = "0";
this.el.style.height = "0";
this.el.style.fontSize = "0";
if (this.data) {
this.processData(this.data);
} else {
Expand Down

0 comments on commit 9d32ad7

Please sign in to comment.