Browse Source

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

lex 2 years ago
parent
commit
4349c6a278
1 changed files with 5 additions and 0 deletions
  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;
   }
 }