# Sidebar causes words jump when toc disappears

**URL:** https://meta.discourse.org/t/sidebar-causes-words-jump-when-toc-disappears/260503
**Category:** UX
**Tags:** sidebar
**Created:** [April 4, 2023, 8:22am UTC](https://meta.discourse.org/t/sidebar-causes-words-jump-when-toc-disappears/260503 "2023-04-04T08:22:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [April 4, 2023, 8:22am UTC](https://meta.discourse.org/t/sidebar-causes-words-jump-when-toc-disappears/260503/1 "2023-04-04T08:22:23Z")

</div>

When the toc disappears and the sidebar is not collapsed, the width of the post changes.

---

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [April 4, 2023, 10:07am UTC](https://meta.discourse.org/t/sidebar-causes-words-jump-when-toc-disappears/260503/2 "2023-04-04T10:07:49Z")

</div>

If I’m not wrong, this should just be a feature by design?  
toc needs a certain, additional minimum width, but if this part of the width is not folded when the toc disappears, it will cause a waste of space.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [April 4, 2023, 10:16am UTC](https://meta.discourse.org/t/sidebar-causes-words-jump-when-toc-disappears/260503/3 "2023-04-04T10:16:37Z")

</div>

Without the sidebar, so with more space, the second post always looks like the one with sidebar and toc. So with sidebar there is less space, but as soon as the toc disappears the post width is greater than without sidebar. I don’t get why that should be a feature. If you are reading the second post and suddenly all words change their position, you need to start reading again.
