【优化】调整内边距,让imag card 滚动底部有一些距离
This commit is contained in:
parent
05ba908a7f
commit
19c752e81d
@ -154,9 +154,11 @@ onUnmounted(async () => {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-image-list {
|
.task-image-list {
|
||||||
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@ -164,12 +166,16 @@ onUnmounted(async () => {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
padding-bottom: 300px;
|
padding-bottom: 100px;
|
||||||
|
box-sizing: border-box; /* 确保内边距不会增加高度 */
|
||||||
|
|
||||||
>div {
|
>div {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
>div:last-of-type {
|
||||||
|
//margin-bottom: 100px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user