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: tooltip within stat-title inherits opacity #1617

Closed
johnbchron opened this issue Feb 20, 2023 · 1 comment
Closed

bug: tooltip within stat-title inherits opacity #1617

johnbchron opened this issue Feb 20, 2023 · 1 comment

Comments

@johnbchron
Copy link

johnbchron commented Feb 20, 2023

What version of daisyUI are you using?

v2.50.0

Describe your issue

When you place a tooltip inside of the stat-title class of a stat (for example if you wanted to show a question icon with a tooltip explanation), the tooltip inherits opacity: 0.6 from the stat-title class. This is overridden while the tooltip is inactive, but when it's active it has opacity: 0.6 and looks off. I don't know enough to know if what I'm suggesting is a good alternative, but setting opacity outright within stat-title seems uncharacteristic for DaisyUI. Maybe set the text color with a modified opacity, or add a dedicated css variable?

What browsers are you seeing the problem on?

I've only tested on chrome, but I don't think it's relevant.

Reproduction URL (optional)

https://codepen.io/johnbchron/pen/bGxVPMo

@saadeghi
Copy link
Owner

Thank you. Fixed in version 2.50.2

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