style(animation.vue): 调整容器高度以适应内容
将动画容器的高度从100vh更改为2000px,以确保内容在页面中完整显示,避免内容被截断。
Showing
1 changed file
with
2 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-03-28 09:23:04 | 2 | * @Date: 2025-03-28 09:23:04 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-03-28 21:56:54 | 4 | + * @LastEditTime: 2025-03-28 21:59:13 |
| 5 | * @FilePath: /mlaj/src/views/animation.vue | 5 | * @FilePath: /mlaj/src/views/animation.vue |
| 6 | * @Description: 贝塞尔曲线动画路径组件 | 6 | * @Description: 贝塞尔曲线动画路径组件 |
| 7 | * | 7 | * |
| ... | @@ -341,7 +341,7 @@ const svgViewBox = computed(() => { | ... | @@ -341,7 +341,7 @@ const svgViewBox = computed(() => { |
| 341 | .animation-container { | 341 | .animation-container { |
| 342 | position: relative; | 342 | position: relative; |
| 343 | width: 100%; | 343 | width: 100%; |
| 344 | - height: 100vh; | 344 | + height: 2000px; /* 调整容器高度 */ |
| 345 | background: #f5f5f5; | 345 | background: #f5f5f5; |
| 346 | padding: 1rem; | 346 | padding: 1rem; |
| 347 | box-sizing: border-box; | 347 | box-sizing: border-box; | ... | ... |
-
Please register or login to post a comment