pico icon indicating copy to clipboard operation
pico copied to clipboard

Bug: dotted border-bottom on dropdowns with tooltip

Open telamon opened this issue 1 year ago • 0 comments

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>

image

Expected Behavior

No border-bottom.

telamon avatar Sep 05 '22 12:09 telamon