Skip to content

Commit 3ccf62f

Browse files
committed
chore(docs): disable view transition animation
Applies the workaround suggested in withastro/astro#10241
1 parent 37edeaf commit 3ccf62f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/layouts/Layout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const { title } = Astro.props;
1212
---
1313

1414
<!doctype html>
15-
<html lang="en" theme="g100">
15+
<html lang="en" theme="g100" transition:animate="none">
1616
<head>
17-
<ViewTransitions transition:animate="none" />
17+
<ViewTransitions />
1818
<meta charset="UTF-8" />
1919
<meta name="viewport" content="width=device-width, initial-scale=1" />
2020
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />

0 commit comments

Comments
 (0)