chore(ActionSheet): optimize dom (#7434)

* chore(ActionSheet): optimize dom

* chore: update snapshot
This commit is contained in:
neverland
2020-10-29 21:57:11 +08:00
committed by GitHub
parent 134d8ccd6f
commit 0cb55c33e0
3 changed files with 33 additions and 67 deletions
+6 -12
View File
@@ -8,6 +8,12 @@
overflow: hidden;
color: @action-sheet-item-text-color;
&__content {
flex: 1;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
&__item,
&__cancel {
display: block;
@@ -103,16 +109,4 @@
color: @action-sheet-close-icon-active-color;
}
}
&__inner {
display: flex;
flex: 1;
flex-direction: column;
overflow: hidden;
}
&__main {
flex: 1;
overflow-y: scroll;
}
}