课程库标签样式

This commit is contained in:
670788339
2025-11-04 18:44:09 +08:00
parent 51c3d29854
commit 25cb97f462
2 changed files with 44 additions and 13 deletions

View File

@@ -345,4 +345,28 @@ export default {
line-height: 25px; /* 垂直居中文字 */
box-sizing: border-box; /* 确保padding包含在height内 */
}
::v-deep(.el-select__tags) {
display: flex;
flex-wrap: wrap;
align-items: center;
}
::v-deep(.el-tag) {
flex: 0 0 calc(50% - 8px);
max-width: calc(50% - 8px);
box-sizing: border-box;
margin-right: 8px;
margin-bottom: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
::v-deep(.el-select__input) {
flex: 1;
min-width: 60px;
}
</style>