Commit bc9d5ca2 by renyizhao

充值协议

parent 31afbc56
...@@ -149,11 +149,10 @@ function methodTagType(method?: string) { ...@@ -149,11 +149,10 @@ function methodTagType(method?: string) {
font-size: 14px; font-size: 14px;
line-height: 1.8; line-height: 1.8;
color: #303233; color: #303233;
// 显式声明,避免被父级 flex 布局影响行内元素的换行点 // CJK 文字允许在任意两个汉字之间断行(浏览器默认行为)
// 之前用 word-break: keep-all 是为了防 <strong> 断行,真凶 .app-wrapper :after
// 已经用 :deep(*)::after 杀掉,这里恢复 CJK 自然断行
white-space: normal; white-space: normal;
// CJK 文本 keep-all:禁止在任意两个汉字之间断行,只允许在空格 / 标点处断行
// 配合 overflow-wrap 处理超长 URL / 英文单词
word-break: keep-all;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
...@@ -201,9 +200,8 @@ function methodTagType(method?: string) { ...@@ -201,9 +200,8 @@ function methodTagType(method?: string) {
.paragraph { .paragraph {
margin: 6px 0; margin: 6px 0;
color: #4a4f57; color: #4a4f57;
// CJK 文字允许在任意两个汉字之间断行(浏览器默认行为)
white-space: normal; white-space: normal;
// 关键:CJK 不在汉字之间断行,strong / code 不会变成"断行点"
word-break: keep-all;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment