Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Implement Vadim suggestion
  • Loading branch information
chrisdavidmills committed Oct 17, 2025
commit 3933009ca7be6556db16a853ae93974072b829d6
1 change: 0 additions & 1 deletion popover-api/popover-hint/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ body {
[popover="auto"] {
inset: unset;
position: absolute;
bottom: 0;
bottom: calc(anchor(top) + 20px);
justify-self: anchor-center;
margin: 0;
Expand Down
9 changes: 3 additions & 6 deletions popover-api/popover-hint/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,25 @@
popovertargetaction="toggle"
id="menu-1">
Menu A
<div id="tooltip-1" class="tooltip" popover="hint">Tooltip A</div>
</button>

<div id="tooltip-1" class="tooltip" popover="hint">Tooltip A</div>

<button
popovertarget="submenu-2"
popovertargetaction="toggle"
id="menu-2">
Menu B
<div id="tooltip-2" class="tooltip" popover="hint">Tooltip B</div>
</button>

<div id="tooltip-2" class="tooltip" popover="hint">Tooltip B</div>

<button
popovertarget="submenu-3"
popovertargetaction="toggle"
id="menu-3">
Menu C
<div id="tooltip-3" class="tooltip" popover="hint">Tooltip C</div>
</button>

<div id="tooltip-3" class="tooltip" popover="hint">Tooltip C</div>

<div id="submenu-1" popover="auto">
<button>Option A</button><br /><button>Option B</button>
</div>
Expand Down