Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Reduce load flicker (#43762)

Danilo Leal34b453cee629
diff --git a/docs/theme/index.hbs b/docs/theme/index.hbs
index 134fcacb383..1e89021218b 100644
--- a/docs/theme/index.hbs
+++ b/docs/theme/index.hbs
@@ -3,6 +3,13 @@
<head>
<!-- Book generated using mdBook -->
<meta charset="UTF-8">
+ <meta name="view-transition" content="same-origin">
+ <style>
+ ::view-transition-old(root),
+ ::view-transition-new(root) {
+ animation-duration: 0.15s;
+ }
+ </style>
<!-- Theme initialization - must run before any CSS loads to prevent flicker -->
<script>
(function() {