瀏覽代碼

fix(health): 修复知识库弹窗长文本超出右边界

liaoxg 3 周之前
父節點
當前提交
a8d31600ec
共有 1 個文件被更改,包括 3 次插入 和 0 次删除
  1. 3 0
      cfc-frontend/components/health-knowledge-popup.vue

+ 3 - 0
cfc-frontend/components/health-knowledge-popup.vue

@@ -75,6 +75,7 @@ export default {
   font-weight: 600;
   color: #333;
   flex: 1;
+  word-break: break-all;
 }
 .kb-popup-close {
   font-size: 40rpx;
@@ -98,6 +99,8 @@ export default {
   font-size: 28rpx;
   color: #333;
   line-height: 1.6;
+  word-break: break-all;
+  white-space: normal;
 }
 .kb-empty {
   text-align: center;