mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-26 04:50:18 +00:00
perf: 优化移动端子任务列表显示
This commit is contained in:
parent
426fa63288
commit
d3bda0d869
@ -307,7 +307,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</FormItem>
|
||||
<FormItem v-if="subList.length > 0 || addsubForce">
|
||||
<FormItem v-if="subList.length > 0 || addsubForce" className="item-subtask">
|
||||
<div class="item-label" slot="label">
|
||||
<i class="taskfont"></i>{{$L('子任务')}}
|
||||
</div>
|
||||
|
||||
@ -879,6 +879,34 @@ body.window-portrait {
|
||||
.scrollbar-content {
|
||||
overflow-x: auto;
|
||||
}
|
||||
.items {
|
||||
.ivu-form-item {
|
||||
&.item-subtask {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.ivu-form-item-content {
|
||||
margin-left: 0 !important;
|
||||
> ul {
|
||||
margin-left: 0;
|
||||
}
|
||||
&.nosub {
|
||||
margin-top: 14px;
|
||||
> li {
|
||||
.add-input,
|
||||
.add-button {
|
||||
margin-top: -2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.item-content {
|
||||
&.nosub {
|
||||
margin-top: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user