Преглед на файлове

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

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;
   }
 }