feat(ShareSheet): support multil line

This commit is contained in:
chenjiahan
2020-04-09 13:09:32 +08:00
committed by neverland
parent 68164e64cf
commit 1e2325c006
6 changed files with 163 additions and 12 deletions
+6
View File
@@ -1,4 +1,5 @@
@import '../style/var';
@import '../style/mixins/hairline';
.van-share-sheet {
&__header {
@@ -23,11 +24,16 @@
}
&__options {
position: relative;
display: flex;
padding: @padding-md 0 @padding-md @padding-lg;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
&--border::before {
.hairline-top(@cell-border-color, @padding-md);
}
// fix right-padding issue for overflow-x element
// see: https://stackoverflow.com/questions/10054870
&::after {