aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src/components/code-line/LineIssuePointer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/design-system/src/components/code-line/LineIssuePointer.tsx')
-rw-r--r--server/sonar-web/design-system/src/components/code-line/LineIssuePointer.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/design-system/src/components/code-line/LineIssuePointer.tsx b/server/sonar-web/design-system/src/components/code-line/LineIssuePointer.tsx
index bf0e7ac1639..53d47a48a46 100644
--- a/server/sonar-web/design-system/src/components/code-line/LineIssuePointer.tsx
+++ b/server/sonar-web/design-system/src/components/code-line/LineIssuePointer.tsx
@@ -37,7 +37,7 @@ export function LineIssuePointer({ issueFindingRef }: Props) {
if (pointerRef.current && issueFindingRef?.current) {
setDistance(
issueFindingRef.current.getBoundingClientRect().top -
- pointerRef.current.getBoundingClientRect().bottom
+ pointerRef.current.getBoundingClientRect().bottom,
);
}
}, [pointerRef, issueFindingRef]);