perf: 添加任务时选择任务位置内容溢出

This commit is contained in:
kuaifan 2024-03-26 13:22:25 +08:00
parent 59c7b148dd
commit a7bd403b2c

View File

@ -7,6 +7,21 @@
margin-bottom: 20px;
position: relative;
.ivu-cascader {
.ivu-cascader-menu-item {
max-width: 300px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@media (max-width: 600px) {
max-width: 200px;
}
@media (max-width: 400px) {
max-width: 160px;
}
@media (max-width: 320px) {
max-width: 100px;
}
}
.ivu-cascader-label {
width: auto;
padding: 0;