Adapt to mobile screen (#246)

This commit is contained in:
Germey authored and GitHub committed 2025-08-05 00:53:59 +08:00
1 parent 2565f1573d
commit ba3c0f31f4
18 files changed
+96 -92

No files matched your search

@@ -84,7 +84,6 @@ export default defineComponent({
<style lang="scss" scoped>
.panel {
border-right: 1px solid var(--el-border-color);
flex: 1;
height: calc(100% - 40px);
}
+6 -1
View File
@@ -5,7 +5,12 @@
<div v-else-if="tasks && tasks?.length === 0" class="w-full h-full flex items-center justify-center">
<no-tasks />
</div>
<div v-else-if="tasks.length > 0" ref="panel" class="p-2 flex flex-col overflow-y-auto" @scroll="onHandleScroll">
<div
v-else-if="tasks.length > 0"
ref="panel"
class="p-2 h-full flex flex-col overflow-y-auto"
@scroll="onHandleScroll"
>
<task-item
v-for="(task, taskKey) in tasks"
:key="taskKey"