mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 18:36:51 +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;
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user