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
<ul><li><labeldata-tooltip="Toggle dark and light mode"for="theme-toggle"class="theme-toggle-label">{%include'flaticons/bright.svg'%}<inputname="terms"class="theme-toggle"id="theme-toggle"type="checkbox"role="switch"checked/>{%include'flaticons/moon.svg'%}</label></li></ul>
produces a dotted line below the element. data-tooltip="Tooltip" within the <input> element destroys formatting completely.
Expected Behavior
Only tooltip added
The text was updated successfully, but these errors were encountered:
I was able to duplicate your issue, and found a fix which I included in my fork of PicoCSS.
The main change for your issue is to update that line I pointed out previously to the follow: &:not(:has(a, button, input, [role="button"])):not(a, button, input, [role="button"]) {
Describe the issue
Current Behavior
produces a dotted line below the element.
data-tooltip="Tooltip"
within the<input>
element destroys formatting completely.Expected Behavior
Only tooltip added
The text was updated successfully, but these errors were encountered: