mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Simplified background highlight style now that corner radius has been removed from selected highlight
This commit is contained in:
@@ -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`,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user