浏览代码

fix:医疗机构、经销商列表标题过长样式调整

yangfeng 3 年之前
父节点
当前提交
f3d7271d25
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      src/components/push-list/DistributorSearch.vue
  2. 2 0
      src/components/push-list/MedicalList.vue

+ 2 - 0
src/components/push-list/DistributorSearch.vue

@@ -269,6 +269,7 @@ export default {
   @include diy-icon('heart_solid', 18, 18);
   ::v-deep .el-icon-jy-icon-company {
     margin-right: 8px;
+    flex-shrink: 0;
   }
   // card样式重置
   ::v-deep {
@@ -488,6 +489,7 @@ export default {
       font-size: 14px;
       font-weight: 400;
       color: #686868;
+      white-space: nowrap;
     }
   }
 </style>

+ 2 - 0
src/components/push-list/MedicalList.vue

@@ -232,6 +232,7 @@ export default {
   @include diy-icon('renling-active', 18, 18);
   ::v-deep .el-icon-jy-icon-company {
     margin-right: 8px;
+    flex-shrink: 0;
   }
   // card样式重置
   ::v-deep {
@@ -315,6 +316,7 @@ export default {
         font-size: 14px;
         line-height: 22px;
         color: #686868;
+        white-space: nowrap;
       }
       &:hover{
         .el-icon-jy-renling{