feat: add word wrap

This commit is contained in:
Sivan 2020-03-15 19:43:18 +08:00
parent 5f105fe5d9
commit 47d85d752f
5 changed files with 12 additions and 2 deletions

View file

@ -29,6 +29,12 @@
-webkit-font-smoothing: subpixel-antialiased;
line-height: $line-height-normal;
// 针对混合英文段落采取按词折行长单词通过连词符段行
// https://justmarkup.com/articles/2015-07-31-dealing-with-long-words-in-css/
overflow-wrap: break-word;
word-wrap: break-word;
hyphens: auto;
// 自动在中西文间加 1/4 空格暂无浏览器支持
//text-spacing: ideograph-alpha;