Skip to content

Commit

Permalink
Revert "DNM debug changes"
Browse files Browse the repository at this point in the history
This reverts commit 4af3a43.
  • Loading branch information
oatkiller committed Mar 30, 2020
1 parent 391c3a1 commit 90771d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,13 @@ export const EdgeLine = styled(
*/
transform: `translateY(-50%) rotateZ(${angle(screenStart, screenEnd)}rad)`,
};
return <div className={className} style={style} />;
return <div role="presentation" 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,6 +34,12 @@ 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 @@ -67,7 +73,7 @@ export const Resolver = styled(
<EuiLoadingSpinner size="xl" />
</div>
) : (
<div
<StyledResolverContainer
className="resolver-graph kbn-resetFocusState"
onMouseDown={onMouseDown}
ref={ref}
Expand Down Expand Up @@ -98,7 +104,7 @@ export const Resolver = styled(
/>
);
})}
</div>
</StyledResolverContainer>
)}
<StyledPanel />
<StyledGraphControls />
Expand Down Expand Up @@ -129,5 +135,6 @@ 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 90771d8

Please sign in to comment.