# Index button on smaller screens

**URL:** <https://meta.discourse.org/t/index-button-on-smaller-screens/312306>\
**Category:** Feature\
**Tags:** disco-toc\
**Created:** [June 16, 2024, 11:41pm UTC](https://meta.discourse.org/t/index-button-on-smaller-screens/312306 "2024-06-16T23:41:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [June 17, 2024, 4:31pm UTC](https://meta.discourse.org/t/index-button-on-smaller-screens/312306/4 "2024-06-17T16:31:04Z")

</div>

Hmm I see, this is narrow views in desktop view, not mobile view, right?

It seems by default we hide the topic progress bar on desktop with \< 2 replies, so because of this the table of contents can’t appear.

Curiously, we don’t do this on mobile… so maybe we should remove it.

```js
const hideOnShortStream = !this.site.mobileView && filteredPostsCount < 2;

```

---

_[View the full topic](https://meta.discourse.org/t/index-button-on-smaller-screens/312306)._
