From edfc1bb2b31a1e8e85f61127448bad09581dfe7e Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Mon, 3 Jun 2019 10:46:37 -0700 Subject: [PATCH] Simplified background highlight style now that corner radius has been removed from selected highlight --- src/devtools/views/Components/SelectedTreeHighlight.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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`, }} /> );