You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 inheritsopacity: 0.6
from thestat-title
class. This is overridden while the tooltip is inactive, but when it's active it hasopacity: 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 withinstat-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
The text was updated successfully, but these errors were encountered: