Skip to content

Commit

Permalink
Tooltip: Move term to Popup.Header
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Oct 25, 2024
1 parent 4d595c8 commit f734a75
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/volto-slate-glossary/src/components/Tooltips.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,8 @@ export const enhanceTextWithTooltips = (text, remainingGlossaryterms) => {
key={j}
className="tooltip"
>
<Popup.Header>{el.val}</Popup.Header>
<Popup.Content>
<div
className="tooltip_header"
dangerouslySetInnerHTML={{
__html: el.val,
}}
/>
<div
className="tooltip_content"
dangerouslySetInnerHTML={{
Expand Down

0 comments on commit f734a75

Please sign in to comment.