Fix Visualiser cropping issue
Summary: An issue was reported for the visualiser whereas there seemed to be some cropping taking place on the right hand side. https://pxl.cl/2BhPT The issue was the resizable panel and visualiser both were set with the same width. The resizable panel was set as to have a gutter which was not taken into consideration, add this width to the panel width and that fixes the issue. Also change box sizing model as to not affect the dimensions of the wireframe. Reviewed By: LukeDefeo Differential Revision: D44664377 fbshipit-source-id: e640af2090f7c3378e624626fe3ea5df631caa11
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a419aaaf1b
commit
985a9eda33
@@ -355,6 +355,7 @@ const NodeBorder = styled.div<{tags: Tag[]; hovered: boolean}>((props) => ({
|
||||
left: 0,
|
||||
bottom: 0,
|
||||
right: 0,
|
||||
boxSizing: 'border-box',
|
||||
borderWidth: props.hovered ? '2px' : '1px',
|
||||
borderStyle: 'solid',
|
||||
color: 'transparent',
|
||||
|
||||
Reference in New Issue
Block a user