Commit 01ae7057e1
Unsigned
Layout: unified · split
docs/.vitepress/theme/components/HomeFeatures.vue +6 −4
| @@ -378,6 +378,12 @@ function onHandlePointerUp() { | ||
| 378 | 378 | </Teleport> |
| 379 | 379 | </template> |
| 380 | 380 | |
| 381 | <style> | |
| 382 | html[data-home-prefs] .home-features:not(.is-mounted) { | |
| 383 | opacity: 0; | |
| 384 | } | |
| 385 | </style> | |
| 386 | ||
| 381 | 387 | <style scoped> |
| 382 | 388 | /* ── Grid ── */ |
| 383 | 389 | .home-features { |
| @@ -385,10 +391,6 @@ function onHandlePointerUp() { | ||
| 385 | 391 | padding: 0 24px; |
| 386 | 392 | } |
| 387 | 393 | |
| 388 | :global(html[data-home-prefs]) .home-features:not(.is-mounted) .container { | |
| 389 | opacity: 0; | |
| 390 | } | |
| 391 | ||
| 392 | 394 | @media (min-width: 640px) { |
| 393 | 395 | .home-features { padding: 0 48px; } |
| 394 | 396 | } |