[new feature] Actionsheet: support maxHeight (#777)

* [Improvement] Actionsheet: set container max-height  && support scrolling when contents exceeds max height

*  [Improvement] Actionsheet: set scroll-y to auto
This commit is contained in:
hugin 2018-03-26 17:02:57 +08:00 committed by neverland
parent df1b86002a
commit 9930a3263b

View File

@ -8,6 +8,9 @@
color: $text-color;
transition: .2s ease-out;
background-color: $background-color;
max-height: 90%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
&--withtitle {
background-color: $white;