Skip to content

Commit

Permalink
Better tooltip inline code support
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Jul 25, 2024
1 parent 7da9a42 commit 71bbb4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/css/code/syntax.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ code a:active .tooltip-trigger.tooltip_show .tooltip {
margin-left: -0.5rem;
}

.tooltip-trigger:has(> .syntax-help) .tooltip code {
display: inline-block;
}

.tooltip-trigger:has(> .syntax-help) .tooltip-bubble {
max-width: 22rem;
min-width: 22rem;
Expand Down

0 comments on commit 71bbb4d

Please sign in to comment.