layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[UI] Remove Empty Bullet Markers After Tooltip in Table of Contents

Open SajanBisht opened this issue 4 weeks ago • 4 comments

Description

On the Sistent Tooltip documentation page, two extra empty bullet markers appear immediately after the Tooltip entry in the left-hand Table of Contents sidebar.

There are currently no elements listed after Tooltip, so these markers appear as unnecessary empty list items and create visual clutter in the sidebar.

Steps to Reproduce

  1. Visit [Sistent – Tooltip Documentation](https://layer5.io/projects/sistent/components/tooltip/code).
  2. Expand the Components section in the Table of Contents sidebar.
  3. Scroll to the bottom of the component list.
  4. Observe the two empty bullet markers appearing immediately after Tooltip.

Actual Behaviour

Two empty bullet markers are displayed below the Tooltip entry, despite there being no corresponding elements or links.

Expected Behaviour

The empty bullet markers should be removed so that the Table of Contents ends cleanly after the Tooltip entry, without displaying unnecessary list markers.

Screenshots

The screenshots below illustrate the issue:

  • The first screenshot shows the collapsed Components section.
  • The second screenshot shows the expanded Components section, where the two extra empty bullet markers are visible.

Additional Context

This appears to be a minor UI issue in the Table of Contents sidebar, potentially caused by empty list elements being rendered after the last component entry.

Image

SajanBisht avatar Nov 05 '26 15:11 SajanBisht

Hi, could this be assigned to me? I'd like to fix it.

BiswasNehaa avatar Nov 05 '26 18:11 BiswasNehaa

Hi! I’d like to work on this. I work with React and CSS day to day, and I’ll track down where the empty TOC list items come from on the Sistent Tooltip page and fix them at the source. Could you please assign it to me?

jaydeep-99o avatar Nov 06 '26 03:11 jaydeep-99o

Anyone can work on this ask maintainers to assign this to you in slack...

SajanBisht avatar Nov 07 '26 11:11 SajanBisht

I'd like to work on this. The empty bullets look like the TOC list is showing items with no title after Tooltip. I'll find the TOC component and filter them out. Is it still open?

prashil0056 avatar Nov 07 '26 11:11 prashil0056