Skip to content

Commit

Permalink
Don't show nested tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Jul 25, 2024
1 parent 0b521d8 commit 8cfd2ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/css/code/syntax.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ code a:active .tooltip-trigger.tooltip_show .tooltip {
white-space: pre-wrap;
}

/* Don't show double tooltips */
.tooltip-trigger.tooltip_show .tooltip-trigger .tooltip {
display: none;
}

.rich .fqn .sep {
color: var(--color-syntax-subtle);
}
Expand Down
4 changes: 2 additions & 2 deletions src/css/ui/components/tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ positioned absolute within the overflow container.
display: inline-flex;
}

.tooltip-trigger.tooltip_show .tooltip,
.tooltip-trigger:hover .tooltip {
.tooltip-trigger.tooltip_show > .tooltip,
.tooltip-trigger:hover > .tooltip {
animation: fade-in 0.2s;
pointer-events: auto;
opacity: 1;
Expand Down

0 comments on commit 8cfd2ec

Please sign in to comment.