Showing
1 changed file
with
3 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 16:11:00 | 4 | + * @LastEditTime: 2024-12-04 16:18:28 |
| 5 | * @FilePath: /hager/src/views/solution/detail.vue | 5 | * @FilePath: /hager/src/views/solution/detail.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -344,13 +344,13 @@ export default { | ... | @@ -344,13 +344,13 @@ export default { |
| 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 | + gap: 1vw; |
| 348 | &.xs { | 348 | &.xs { |
| 349 | display: block; | 349 | display: block; |
| 350 | } | 350 | } |
| 351 | .card { | 351 | .card { |
| 352 | flex: 0 0 32.33%; /* 宽度为 1/3 */ | 352 | flex: 0 0 32.33%; /* 宽度为 1/3 */ |
| 353 | - margin-bottom: 1rem; /* 在元素之间添加间距 */ | 353 | + margin-bottom: 0.25vw; /* 在元素之间添加间距 */ |
| 354 | box-sizing: border-box; /* 防止 padding 或 margin 影响宽度 */ | 354 | box-sizing: border-box; /* 防止 padding 或 margin 影响宽度 */ |
| 355 | border-radius: 10px; | 355 | border-radius: 10px; |
| 356 | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | 356 | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ... | ... |
-
Please register or login to post a comment