Skip to content

Commit

Permalink
fix(dropdown): adjust size on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
phucbm committed Aug 3, 2023
1 parent 53d22b1 commit 3a359e4
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@
.easy-select {
/* select tag */
--es-height: 40px;
--es-width: 300px;
--es-width-mobile: 100%;

/* dropdown */
--es-dropdown-width: 300px;
--es-dropdown-height: 300px;
--es-option-min-width: 250px;
--es-dropdown-width-mobile: 100%;
--es-scrollbar-width: 3px;
--es-scrollbar-track: #f6f7f9;
--es-scrollbar-thumb: #e0e7ee;
Expand Down Expand Up @@ -103,16 +100,6 @@
opacity: .8;
}

/****************************
* Responsive
****************************/
@media only screen and (max-width: 480px) {
.easy-select {
--es-width: var(--es-width-mobile);
--es-dropdown-width: var(--es-dropdown-width-mobile);
}
}

/****************************
* Current
****************************/
Expand Down

0 comments on commit 3a359e4

Please # to comment.