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

Vertical Navigation badge not rendered properly #205

Closed
BayBreezy opened this issue May 19, 2023 · 3 comments
Closed

Vertical Navigation badge not rendered properly #205

BayBreezy opened this issue May 19, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@BayBreezy
Copy link

Version

@nuxthq/ui: 2.1.0
nuxt: v3.5.0

Reproduction Link

https://stackblitz.com/edit/nuxt-starter-pfevqw?file=app.vue

Steps to reproduce

  • Create a project & install the package
  • Configure the app.config.ts file with the colors
  • Add the example from Vertical Navigation to your page.
  • Update the link array to include the badge prop

What is Expected?

I expected the badge to be rendered on the far right based on the default config below:

// ... 
"badge": {
    "base": "ml-auto inline-block py-0.5 px-2 text-xs rounded-md -mr-1 -my-0.5",
    "active": "bg-white dark:bg-gray-900",
    "inactive": "bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-300 group-hover:bg-white dark:group-hover:bg-gray-900"
  }

// ...
Screenshot 2023-05-19 at 7 36 14 AM

What is actually happening?

The badge styles seem to not be applied

Screenshot 2023-05-19 at 7 38 23 AM
@BayBreezy BayBreezy added the bug Something isn't working label May 19, 2023
Copy link
Member

Thanks for noticing this! 😊

@BayBreezy
Copy link
Author

YW :)
I want this to be the perfect UI library for Nuxt, so I will be testing every single component that is published lololol
I hope you guys don't find me annoying at any point

Copy link
Member

Not at all, feel free to open as many issues as needed so we can make this library perfect altogether 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants