mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 17:36:42 +08:00
在线课标签样式
This commit is contained in:
@@ -364,7 +364,7 @@ export default {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
::v-deep(.el-tag) {
|
::v-deep(.el-tag) {
|
||||||
flex: 0 0 calc(50% - 8px);
|
flex: 0 0 calc(50% - 8px);
|
||||||
max-width: calc(50% - 8px);
|
max-width: calc(50% - 8px);
|
||||||
@@ -374,6 +374,20 @@ export default {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
::v-deep(.el-tag) {
|
||||||
|
flex: 1 1 auto; /* 自动调整宽度 */
|
||||||
|
min-width: 30%; /* 设置最小宽度 */
|
||||||
|
max-width: 48%; /* 设置最大宽度,留出边距 */
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin-right: 8px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep(.el-select__input) {
|
::v-deep(.el-select__input) {
|
||||||
|
|||||||
Reference in New Issue
Block a user