Skip to content

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

fix: style widget height

AykutSaracae3406383244
diff --git a/src/components/Graph/index.tsx b/src/components/Graph/index.tsx
index afdf1390..71f98c84 100644
--- a/src/components/Graph/index.tsx
+++ b/src/components/Graph/index.tsx
@@ -49,7 +49,7 @@ const StyledEditorWrapper = styled.div<{ widget: boolean }>`
}
@media only screen and (max-width: 768px) {
- height: 100vh;
+ height: ${({ widget }) => (widget ? "calc(100vh - 36px)" : "100vh")};
}
`;