Skip to content

Commit

Permalink
fix(module: picker): fix picker style error (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisherspy authored May 8, 2019
1 parent 9a1f52e commit c09b85e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions components/picker/style/addon.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
@pickerPopupPrefixCls: am-picker-popup;

picker{
display: block;
}

.@{pickerPopupPrefixCls} {
&-wrap {
top: inherit;
}
&-mask {
transform: none;
}
}
2 changes: 1 addition & 1 deletion components/picker/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
&-wrap {
position: fixed;
overflow: auto;
// top: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
Expand Down

0 comments on commit c09b85e

Please sign in to comment.