@samitouri / QOS-React-2 / commits / edfc1bb2b3

Simplified background highlight style now that corner radius has been removed from selected highlight

Brian Vaughn committed Jun 3, 2019 at 10:46 UTC edfc1bb2b31a1e8e85f61127448bad09581dfe7e
1 file changed +2 -3
src/devtools/views/Components/SelectedTreeHighlight.js
+2 -3
@@ -90,9 +90,8 @@ export default function SelectedTreeHighlight(_: {||}) {
90 className={treeFocused ? styles.Active : styles.Inactive}
91 style={{
92 position: 'absolute',
93 - top: `${startIndex * lineHeight - lineHeight / 2}px`,
94 - height: `${(stopIndex + 1 - startIndex) * lineHeight +
95 - lineHeight / 2}px`,
93 + top: `${startIndex * lineHeight}px`,
94 + height: `${(stopIndex + 1 - startIndex) * lineHeight}px`,
95 }}
96 />
97 );