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

liClass property of NavLi isn't applied to the <li> element #1501

Open
kevinwright opened this issue Dec 12, 2024 · 0 comments
Open

liClass property of NavLi isn't applied to the <li> element #1501

kevinwright opened this issue Dec 12, 2024 · 0 comments

Comments

@kevinwright
Copy link

kevinwright commented Dec 12, 2024

Describe the bug

The implementation is:

<li>
  <svelte:element ... class={liClass}>
    <slot />
  </svelte:element>
</li>

Not only does this mean that the name "li class" an outright lie (it should be something like contentClass), it also means that there is no way to change the class of the <li> element, nor is there a static class allowing it to be changed via css.

Reproduction

n/a

Flowbite version and System Info

Present in latest version. Bug is agnostic to browser, etc.

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