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

bug: btn btn-link btn-disabled looks like button but not link #3216

Open
bogdan opened this issue Sep 22, 2024 · 3 comments
Open

bug: btn btn-link btn-disabled looks like button but not link #3216

bogdan opened this issue Sep 22, 2024 · 3 comments

Comments

@bogdan
Copy link

bogdan commented Sep 22, 2024

What version of daisyUI are you using?

No response

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

https://play.tailwindcss.com/8cJA9JDvCP

Describe your issue

I believe that when btn btn-link btn-disabled are used together, the result should look like Link but not a button.
While, link-disabled is not currently defined, I believe the fact that these 3 classes can be used together requires to define a style for disabled link.
In practice the disabled link can be used like this:

<div class="tooltip " data-tip="Profile is not yet published" >
  <a href="#" class="link link-disabled">View Public Profile</a>
</div>
Copy link

Thank you @bogdan for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@saadeghi
Copy link
Owner

How should it look like?

@bogdan
Copy link
Author

bogdan commented Sep 23, 2024

I believe like so:
https://play.tailwindcss.com/00Fv24VDxV

image

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

2 participants