Increase thickness of selection border to make selection more apparant
Summary: We had feedback that when a small eleemnt was selected it was hard to find, this should help Changelog: [UIDebugger] Make selection more prominent in the visualiser Reviewed By: lblasa Differential Revision: D47223504 fbshipit-source-id: 33b448d36b0323e958e45fd1d0e2c7f659de293c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
36447d550a
commit
994b472750
@@ -283,7 +283,7 @@ const OverlayBorder = styled.div<{
|
|||||||
width: toPx(node?.bounds?.width ?? 0),
|
width: toPx(node?.bounds?.width ?? 0),
|
||||||
height: toPx(node?.bounds?.height ?? 0),
|
height: toPx(node?.bounds?.height ?? 0),
|
||||||
boxSizing: 'border-box',
|
boxSizing: 'border-box',
|
||||||
borderWidth: 2,
|
borderWidth: type === 'selected' ? 3 : 2,
|
||||||
borderStyle: 'solid',
|
borderStyle: 'solid',
|
||||||
color: 'transparent',
|
color: 'transparent',
|
||||||
borderColor:
|
borderColor:
|
||||||
|
|||||||
Reference in New Issue
Block a user