Skip to content

[bug]: The Unocss tab component's trigger style is not the same as the one provided in the example #120

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

Closed
2 tasks done
Niavana97 opened this issue Aug 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Niavana97
Copy link

Describe the bug

old style
image
new style
image

Affected component/components

Tabs

How to reproduce

old class:
inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-shadow focus-visible:outline-none focus-visible:ring-[1.5px] focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[selected]:bg-background data-[selected]:text-foreground data-[selected]:shadow
new class:
w-full relative z-10 inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium transition-colors disabled:(pointer-events-none opacity-50) data-[selected]:text-foreground peer h-7 outline-none

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Edge 127.0.2651.105

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@Niavana97 Niavana97 added the bug Something isn't working label Aug 26, 2024
@hngngn
Copy link
Owner

hngngn commented Aug 26, 2024

can you provide a minimal reproducible example

@hngngn hngngn linked a pull request Aug 29, 2024 that will close this issue
@hngngn hngngn mentioned this issue Aug 29, 2024
@hngngn hngngn closed this as completed Sep 6, 2024
@hngngn hngngn removed a link to a pull request Sep 6, 2024
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