Inside the demo we are doing stuff depending on whether the layout is horizontal or vertical. That shouldn't be done by the developer (in sidebar_content), it should be done by the theme.
So let's:
[x] hide the separators using CSS, if the menu items are shown in a horizontal menu
[x] use JS to do data-bs-auto-close when the menu items are vertical
Bug report
Inside the demo we are doing stuff depending on whether the layout is horizontal or vertical. That shouldn't be done by the developer (in sidebar_content), it should be done by the theme.
So let's:
data-bs-auto-close
when the menu items are vertical