diff --git a/webapp/javascript/components/TimelineChart/TooltipWrapper/styles.module.scss b/webapp/javascript/components/TimelineChart/TooltipWrapper/styles.module.scss index abeb25f34b..e805b365b4 100644 --- a/webapp/javascript/components/TimelineChart/TooltipWrapper/styles.module.scss +++ b/webapp/javascript/components/TimelineChart/TooltipWrapper/styles.module.scss @@ -9,6 +9,12 @@ border-radius: 4px; padding: 8px 12px; color: var(--ps-tooltip-text); + + // Don't show anything when there's no body + // Otherwise an empty box will be shown + &:empty { + display: none; + } } .hidden {