pico
pico copied to clipboard
Bug: dotted border-bottom on dropdowns with tooltip
Description
A button with a tooltip does not receive an dotted underline but a drop-down does.
Maybe add :not([role=button])
to filter list?
[data-tooltip]:not(a):not(button):not([role=button]):not(input) {
border-bottom: 1px dotted;
text-decoration: none;
cursor: help;
}
Current Behavior
<details role="list">
<summary aria-haspopup="listbox" role="button" data-tooltip="Dropdown with Tooltip">🎨</summary>
<ul role="listbox">...</ul>
</details>
Expected Behavior
No border-bottom.