mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user