Skip to content

Commit

Permalink
fixes responsive issues and adds ui style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
tayyabferozi committed Dec 31, 2021
1 parent 0ff3252 commit f51d08b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ for (i = 0; i < l; i++) {
e.stopPropagation();
closeAllSelect(this);
this.nextSibling.classList.toggle("select-hide");
document.querySelector("#dark-overlay-dropdown").classList.toggle("show");
this.classList.toggle("select-arrow-active");
});
}
Expand All @@ -75,6 +76,7 @@ function closeAllSelect(elmnt) {
for (i = 0; i < xl; i++) {
if (arrNo.indexOf(i)) {
x[i].classList.add("select-hide");
document.querySelector("#dark-overlay-dropdown").classList.remove("show");
}
}
}
Expand Down

0 comments on commit f51d08b

Please sign in to comment.