mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08: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:
parent
df1b86002a
commit
9930a3263b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user