Skip to content

Commit 9e9c958

Browse files
committed
fix: 调整任务列表空数据区域高度,避免滚动条和内容截断
1 parent 3c5f299 commit 9e9c958

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/frontEnd/src/views/TaskList/index.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,12 +979,14 @@ function confirmDeleteAll() {
979979
:deep(.fixed-paginator-table) {
980980
display: flex;
981981
flex-direction: column;
982-
height: calc(100vh - 580px);
982+
height: calc(100vh - 480px);
983+
min-height: 260px;
983984
984985
.p-datatable-wrapper {
985986
flex: 1;
986987
overflow-y: auto;
987988
overflow-x: auto;
989+
min-height: 160px;
988990
}
989991
990992
// 空数据提示
@@ -993,7 +995,8 @@ function confirmDeleteAll() {
993995
flex-direction: column;
994996
align-items: center;
995997
justify-content: center;
996-
padding: 4rem 2rem;
998+
padding: 2rem 1.5rem;
999+
min-height: 150px;
9971000
color: var(--text-color-secondary);
9981001
9991002
i {

0 commit comments

Comments
 (0)