Adapt for Mobile Screen (#14)

This commit is contained in:
AceDataCloud committed 2024-01-02 13:43:30 +08:00
1 parent 82bb30cf94
commit 6de5435746
15 files changed
+355 -152

No files matched your search

@@ -108,4 +108,12 @@ export default defineComponent({
}
}
}
@media (max-width: 767px) {
.channel-selector {
.button {
padding: 20px 10px;
}
}
}
</style>
@@ -14,13 +14,9 @@
</el-skeleton>
</el-card>
</div>
<el-row>
<el-col :span="10" :offset="14">
<div class="pagination">
<pagination :current-page="page" :page-size="limit" :total="total" @change="onPageChange" />
</div>
</el-col>
</el-row>
<div class="pagination">
<pagination :current-page="page" :page-size="limit" :total="total" @change="onPageChange" />
</div>
</template>
<script lang="ts">
@@ -35,8 +31,6 @@ export default defineComponent({
components: {
TaskPreview,
Pagination,
ElRow,
ElCol,
ElSkeleton,
ElSkeletonItem,
ElCard
@@ -156,5 +150,7 @@ export default defineComponent({
.pagination {
height: 60px;
padding-top: 10px;
width: fit-content;
margin: auto;
}
</style>
@@ -139,7 +139,7 @@ export default defineComponent({
required: true
},
applications: {
type: Object as () => IApplication[],
type: Object as () => IApplication[] | undefined,
required: true
},
full: {