Skip to content

Commit d00d494

Browse files
author
Taois
committed
feat: 下载布局
1 parent f9b84ef commit d00d494

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

dashboard/src/components/downloader/NovelDownloader.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,9 @@ onUnmounted(() => {
375375
376376
.download-list {
377377
flex: 1;
378+
display: flex;
379+
flex-direction: column;
380+
min-height: 0;
378381
overflow-y: auto;
379382
overflow-x: hidden;
380383
padding: 16px 24px;
@@ -402,10 +405,11 @@ onUnmounted(() => {
402405
}
403406
404407
.empty-state {
408+
flex: 1;
409+
min-height: 300px;
405410
display: flex;
406411
justify-content: center;
407412
align-items: center;
408-
height: 300px;
409413
}
410414
411415
@media (min-width: 769px) {
@@ -499,7 +503,7 @@ onUnmounted(() => {
499503
}
500504
501505
.empty-state {
502-
height: 220px;
506+
min-height: 0;
503507
border: 1px solid var(--dp-border-subtle);
504508
border-radius: var(--dp-radius-lg);
505509
background: var(--dp-bg-surface-muted);

0 commit comments

Comments
 (0)