mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +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;
|
color: $text-color;
|
||||||
transition: .2s ease-out;
|
transition: .2s ease-out;
|
||||||
background-color: $background-color;
|
background-color: $background-color;
|
||||||
|
max-height: 90%;
|
||||||
|
overflow-y: auto;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
&--withtitle {
|
&--withtitle {
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
|
Reference in New Issue
Block a user