Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

remove unnecessary styles

Aykut Saraç3641b03d8d8e
diff --git a/src/containers/LiveEditor/CustomNode/styles.tsx b/src/containers/LiveEditor/CustomNode/styles.tsx
index df4b50ec..0d771bdc 100644
--- a/src/containers/LiveEditor/CustomNode/styles.tsx
+++ b/src/containers/LiveEditor/CustomNode/styles.tsx
@@ -1,7 +1,6 @@
import styled from "styled-components";
export const StyledTextWrapper = styled.div`
- position: fixed;
display: flex;
justify-content: center;
align-items: center;
@@ -24,14 +23,7 @@ export const StyledText = styled.pre<{
color: ${({ theme }) => theme.SILVER};
`;
-export const StyledForeignObject = styled.foreignObject<{
- width: number;
- height: number;
-}>`
- pointer-events: "none" !important;
- width: ${({ width }) => width + "px"};
- height: ${({ height }) => height + "px"};
-`;
+export const StyledForeignObject = styled.foreignObject``;
export const StyledKey = styled.span<{
objectKey?: boolean;