Skip to content

Commit 44a4d8f

Browse files
author
Daniel Täge
committed
Set popover boundary to viewport
1 parent cdba7cf commit 44a4d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Report/Html/Renderer/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ protected function renderSource(FileNode $node): string
339339

340340
if (!empty($popoverTitle)) {
341341
$popover = \sprintf(
342-
' data-title="%s" data-content="%s" data-placement="bottom" data-html="true"',
342+
' data-title="%s" data-content="%s" data-placement="bottom" data-html="true" data-boundary="viewport"',
343343
$popoverTitle,
344344
\htmlspecialchars($popoverContent, $this->htmlSpecialCharsFlags)
345345
);

0 commit comments

Comments
 (0)