feat(Style): add multi-line ellipsis classes (#4690)

This commit is contained in:
neverland
2019-10-11 14:48:02 +08:00
committed by GitHub
parent a47122ce19
commit 79322ea892
7 changed files with 44 additions and 15 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ function Card(
}
if (props.title) {
return <div class={bem('title')}>{props.title}</div>;
return <div class={[bem('title'), 'van-multi-ellipsis--l2']}>{props.title}</div>;
}
}