mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-23 00:50:28 +00:00
perf: 优化移动端子任务列表显示
This commit is contained in:
parent
426fa63288
commit
d3bda0d869
@ -307,7 +307,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem v-if="subList.length > 0 || addsubForce">
|
<FormItem v-if="subList.length > 0 || addsubForce" className="item-subtask">
|
||||||
<div class="item-label" slot="label">
|
<div class="item-label" slot="label">
|
||||||
<i class="taskfont"></i>{{$L('子任务')}}
|
<i class="taskfont"></i>{{$L('子任务')}}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -879,6 +879,34 @@ body.window-portrait {
|
|||||||
.scrollbar-content {
|
.scrollbar-content {
|
||||||
overflow-x: auto;
|
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