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