Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra 'collapsible' class on collapsible li-treeitems #316

Open
nullester opened this issue Jun 16, 2024 · 0 comments
Open

Extra 'collapsible' class on collapsible li-treeitems #316

nullester opened this issue Jun 16, 2024 · 0 comments

Comments

@nullester
Copy link

Hi,

Just for extra CSS styling, it would be nice to have an extra class on the collapsible li-items.

Before:

<ul class="idx" role="tree">
    <li class="open" role="treeitem">
    ...

After:

<ul class="idx" role="tree">
    <li class="collapsible open" role="treeitem">
    ...

Reason. I'm hiding the default ::marker's and using custom ::before's in an extended theme with up and down arrows to make it clear these items are collapsible/expandible. But if the Item is not collapsible, I want to keep the regular bullet icon.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant