NO BUG: Flex settings in style tab not work on table of content element

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

Hello,

I tried to create a gap between TOC items using the gap control in the style tab but it doesn’t work. The problem is that the gap is not applied to the ul in table of content element.

Hi Victor,
Thanks so much for your report!

Well, it’s actually not a bug. Even if it would add the gap to the ul, it wouldn’t have any effect, since the ul is not using flexbox (or grid).

You can easily create a custom ul selector and set it to display: flex; flex-direction: column; and add a gap. Or you can target the li and set a margin-bottom.

Best regards,
timmse