完善移动端适配
This commit is contained in:
@@ -82,6 +82,9 @@ defineExpose({})
|
||||
margin-top: 100px;
|
||||
padding: 10px;
|
||||
max-width: 740px;
|
||||
@media (max-width: 1000px) {
|
||||
margin-top: 0px;
|
||||
}
|
||||
> .img{
|
||||
margin-bottom: 20px;
|
||||
img{
|
||||
@@ -149,10 +152,12 @@ defineExpose({})
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
> .img-item{
|
||||
aspect-ratio: 3 / 2;
|
||||
img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user