Skip to content

steps component not following tailwind prefix #449

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
shahraship opened this issue Feb 7, 2022 · 1 comment
Closed

steps component not following tailwind prefix #449

shahraship opened this issue Feb 7, 2022 · 1 comment

Comments

@shahraship
Copy link

My tailwind config contains a prefix property like this:
prefix: 'tw-'
The following highlighted css breaks because when it's used by tailwind it fails to convert the class with prefix.
https://github.com/saadeghi/daisyui/blob/master/src/components/styled/steps.css#L4

<ul class="tw-steps tw-w-full">
  <li class="step tw-step-primary">Test 1</li>  <-- We should be able to use tw-step here.
  <li class="step tw-step-primary">Test 2</li>
  <li class="step tw-step-primary">Test 3</li>
</ul>
@saadeghi saadeghi added the bug label Feb 7, 2022
@saadeghi
Copy link
Owner

Fixed in v2.0
https://play.tailwindcss.com/IFdiVRSNqD

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

No branches or pull requests

2 participants