Skip to content

Commit

Permalink
fix(style): cannot show correctly under safari (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpipy authored Apr 19, 2023
1 parent 6bd8d81 commit ffad433
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/style/mobile-select.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@
}

.ms-mobile-select {
position: relative;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 0;
opacity: 0;
visibility: hidden;
-webkit-transition: opacity 0.4s, z-index 0.4s;
transition: opacity 0.4s, z-index 0.4s;
transform: translate(0, 0);
* {
margin: 0;
padding: 0;
Expand Down

0 comments on commit ffad433

Please sign in to comment.