Skip to content

Commit

Permalink
Merge pull request #74 from kodie/kodie/fix-select-spacing-issue
Browse files Browse the repository at this point in the history
Apply font-size: 0 to select element to fix iOS spacing display issue
  • Loading branch information
Tsjippy authored Apr 16, 2024
2 parents aec0dc9 + 9d32ad7 commit f4b7353
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 f4b7353

Please sign in to comment.