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

This commit is contained in:
Brian Vaughn
2019-06-03 10:46:37 -07:00
parent 06b004b5d4
commit edfc1bb2b3
@@ -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`,
}}
/>
);