Skip to content

Commit

Permalink
DNM debug changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oatkiller committed Mar 30, 2020
1 parent cbe0fd0 commit 4af3a43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,12 @@ export const EdgeLine = styled(
*/
transform: `translateY(-50%) rotateZ(${angle(screenStart, screenEnd)}rad)`,
};
return <div role="presentation" className={className} style={style} />;
return <div className={className} style={style} />;
}
)
)`
position: absolute;
height: 3px;
background-color: #d4d4d4;
color: #333333;
contain: strict;
`;
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ const StyledGraphControls = styled(GraphControls)`
right: 5px;
`;

const StyledResolverContainer = styled.div`
display: flex;
flex-grow: 1;
contain: layout;
`;

const bgColor = NamedColors.resolverBackground;

export const Resolver = styled(
Expand Down Expand Up @@ -73,7 +67,7 @@ export const Resolver = styled(
<EuiLoadingSpinner size="xl" />
</div>
) : (
<StyledResolverContainer
<div
className="resolver-graph kbn-resetFocusState"
onMouseDown={onMouseDown}
ref={ref}
Expand All @@ -97,7 +91,7 @@ export const Resolver = styled(
adjacentNodeMap={processToAdjacencyMap.get(processEvent)}
/>
))}
</StyledResolverContainer>
</div>
)}
<StyledPanel />
<StyledGraphControls />
Expand Down Expand Up @@ -128,6 +122,5 @@ export const Resolver = styled(
* Prevent partially visible components from showing up outside the bounds of Resolver.
*/
overflow: hidden;
contain: strict;
background-color: ${bgColor};
`;

0 comments on commit 4af3a43

Please sign in to comment.