fix(系统设置): 成员编辑下拉选择内容过长调整

--bug=1027996 --user=宋昌昌 【系统设置】成员-编辑-工作空间名称较长-显示问题 https://www.tapd.cn/55049933/s/1396557
This commit is contained in:
song-cc-rock 2023-07-24 15:55:54 +08:00 committed by fit2-zhao
parent 32ecdd5e4d
commit 8d114623da
1 changed files with 14 additions and 3 deletions

View File

@ -108,9 +108,9 @@
<script> <script>
import {EMAIL_REGEX, PHONE_REGEX} from "metersphere-frontend/src/utils/regex"; import {EMAIL_REGEX, PHONE_REGEX} from "metersphere-frontend/src/utils/regex";
import {GROUP_TYPE} from "metersphere-frontend/src/utils/constants"; import {GROUP_TYPE} from "metersphere-frontend/src/utils/constants";
import {getAllUserGroupByType, getUserAllGroups} from "../../../api/user-group"; import {getAllUserGroupByType, getUserAllGroups} from "@/api/user-group";
import {specialCreateUser, specialModifyUser} from "../../../api/user"; import {specialCreateUser, specialModifyUser} from "@/api/user";
import {getGroupResource} from "../../../api/workspace"; import {getGroupResource} from "@/api/workspace";
export default { export default {
name: "EditUser", name: "EditUser",
@ -543,4 +543,15 @@ export default {
width: 80%; width: 80%;
} }
:deep(.el-select__tags-text) {
display: inline-block;
max-width: 120px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
:deep(.el-tag.el-tag--info .el-tag__close) {
top: -5px;
}
</style> </style>