|
@@ -72,6 +72,7 @@ const Kind = styled.div`
|
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
|
|
|
+ z-index: 0;
|
|
|
`;
|
|
`;
|
|
|
|
|
|
|
|
const NodeLabel = styled.div`
|
|
const NodeLabel = styled.div`
|
|
@@ -86,6 +87,7 @@ const NodeLabel = styled.div`
|
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
|
|
|
+ z-index: 0;
|
|
|
`;
|
|
`;
|
|
|
|
|
|
|
|
const NodeBlock = styled.div`
|
|
const NodeBlock = styled.div`
|
|
@@ -96,6 +98,7 @@ const NodeBlock = styled.div`
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
border-radius: 100px;
|
|
border-radius: 100px;
|
|
|
|
|
+ z-index: 100;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
:hover {
|
|
:hover {
|
|
|
background: #555556;
|
|
background: #555556;
|
|
@@ -118,7 +121,6 @@ const StyledNode: any = styled.div.attrs((props: NodeType) => ({
|
|
|
box-shadow: ${(props: any) => props.isActive ? '0 0 10px #ffffff66' : '0px 0px 10px 2px #00000022'};
|
|
box-shadow: ${(props: any) => props.isActive ? '0 0 10px #ffffff66' : '0px 0px 10px 2px #00000022'};
|
|
|
color: #ffffff22;
|
|
color: #ffffff22;
|
|
|
border-radius: 100px;
|
|
border-radius: 100px;
|
|
|
- z-index: 3;
|
|
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
align-items: center;
|