hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2024-10-18 12:06:09 2 * @Date: 2024-10-18 12:06:09
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-12-12 14:26:37 4 + * @LastEditTime: 2024-12-12 16:05:29
5 * @FilePath: /hager/src/views/solution/case.vue 5 * @FilePath: /hager/src/views/solution/case.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -284,6 +284,7 @@ export default { ...@@ -284,6 +284,7 @@ export default {
284 // // box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 284 // // box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
285 // cursor: pointer; 285 // cursor: pointer;
286 // } 286 // }
287 + overflow: hidden;
287 img { 288 img {
288 width: 100%; 289 width: 100%;
289 // margin-left: calc((100%) / 2); 290 // margin-left: calc((100%) / 2);
......
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-12 14:34:05 4 + * @LastEditTime: 2024-12-12 16:07:57
5 * @FilePath: /hager/src/views/solution/detail.vue 5 * @FilePath: /hager/src/views/solution/detail.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -481,6 +481,7 @@ export default { ...@@ -481,6 +481,7 @@ export default {
481 border-radius: 5px; 481 border-radius: 5px;
482 transition: transform 0.3s ease-in-out; 482 transition: transform 0.3s ease-in-out;
483 border: 1px solid rgba(0, 0, 0, 0.1); 483 border: 1px solid rgba(0, 0, 0, 0.1);
484 + overflow: hidden;
484 &:hover { 485 &:hover {
485 // box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 486 // box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
486 cursor: pointer; 487 cursor: pointer;
......