Ver Fonte

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

liaoxg há 2 semanas atrás
pai
commit
a8d31600ec
1 ficheiros alterados com 3 adições e 0 exclusões
  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;