# docs: Reduce layout shift when navigating between pages \(\#43758\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e8a3368226f0c38a905bf5040bd43cc2cc19671b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e8a3368226f0c38a905bf5040bd43cc2cc19671b

Requested commit: e8a3368226f0c38a905bf5040bd43cc2cc19671b

Commit: e8a3368226f0c38a905bf5040bd43cc2cc19671b

Tree: 6c4bdeafc3db77d976bbebe3034b907311cbd52f

Author: Danilo Leal

Committer: GitHub

## Message

```
docs: Reduce layout shift when navigating between pages (#43758)

This is still not perfect, but it reduces the shift that happens when
navigating between pages that have and don't have the table of contents.
It also tries to reduce the theme flicker that happens by moving its
loading to an earlier moment.

Release Notes:

- N/A
```

## Parents

- [d4c0b87fb29be189c504ced5c50c41290476e158](https://git.cafe/gitcafe/zed/commit/d4c0b87fb29be189c504ced5c50c41290476e158?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e8a3368226f0c38a905bf5040bd43cc2cc19671b?format=markdown)
