diff --git a/src/devtools/views/Components/SelectedTreeHighlight.js b/src/devtools/views/Components/SelectedTreeHighlight.js index 4bcdaee72c..63ffee1faa 100644 --- a/src/devtools/views/Components/SelectedTreeHighlight.js +++ b/src/devtools/views/Components/SelectedTreeHighlight.js @@ -90,9 +90,8 @@ export default function SelectedTreeHighlight(_: {||}) { className={treeFocused ? styles.Active : styles.Inactive} style={{ position: 'absolute', - top: `${startIndex * lineHeight - lineHeight / 2}px`, - height: `${(stopIndex + 1 - startIndex) * lineHeight + - lineHeight / 2}px`, + top: `${startIndex * lineHeight}px`, + height: `${(stopIndex + 1 - startIndex) * lineHeight}px`, }} /> );