Showing
1 changed file
with
4 additions
and
3 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-09-29 15:49:27 | 2 | * @Date: 2024-09-29 15:49:27 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-12-04 12:09:38 | 4 | + * @LastEditTime: 2024-12-04 16:11:00 |
| 5 | * @FilePath: /hager/src/views/solution/detail.vue | 5 | * @FilePath: /hager/src/views/solution/detail.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -343,7 +343,8 @@ export default { | ... | @@ -343,7 +343,8 @@ export default { |
| 343 | margin-top: 2rem; | 343 | margin-top: 2rem; |
| 344 | display: flex; | 344 | display: flex; |
| 345 | flex-wrap: wrap; | 345 | flex-wrap: wrap; |
| 346 | - justify-content: space-between; /* 确保子元素之间的空间被均匀分配 */ | 346 | + // justify-content: space-between; /* 确保子元素之间的空间被均匀分配 */ |
| 347 | + gap: 10px; | ||
| 347 | &.xs { | 348 | &.xs { |
| 348 | display: block; | 349 | display: block; |
| 349 | } | 350 | } |
| ... | @@ -369,7 +370,7 @@ export default { | ... | @@ -369,7 +370,7 @@ export default { |
| 369 | } | 370 | } |
| 370 | .card-image { | 371 | .card-image { |
| 371 | width: 100%; | 372 | width: 100%; |
| 372 | - height: auto; | 373 | + height: 12rem; |
| 373 | object-fit: cover; | 374 | object-fit: cover; |
| 374 | } | 375 | } |
| 375 | 376 | ... | ... |
-
Please register or login to post a comment