浏览代码

更新老师邀请时名字过长样式调整

lex 2 年之前
父节点
当前提交
4349c6a278
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/student/invite-teacher/teacher-change/index.module.less

+ 5 - 0
src/student/invite-teacher/teacher-change/index.module.less

@@ -19,6 +19,7 @@
     height: 38px;
     border-radius: 50%;
     overflow: hidden;
+    flex-shrink: inherit;
   }
 
   .txt,
@@ -31,6 +32,10 @@
   }
   span {
     padding-left: 12px;
+    max-width: 140px;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
   }
 }