Fix scrape interval and duration tooltip not showing. (#10545)

Signed-off-by: garenchan <garenchan23@gmail.com>
This commit is contained in:
Garen Chan 2022-04-07 20:36:08 +08:00 committed by GitHub
parent 9665c542a1
commit 1d45c418a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ const TargetScrapeDuration: FC<TargetScrapeDurationProps> = ({ duration, interva
isOpen={scrapeTooltipOpen}
toggle={() => setScrapeTooltipOpen(!scrapeTooltipOpen)}
target={CSS.escape(id)}
placement={'right-end'}
style={{ maxWidth: 'none', textAlign: 'left' }}
>
<Fragment>