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: wrap GraphView component in a div for proper layout

AykutSarac1b3213825cca
diff --git a/apps/www/src/pages/widget.tsx b/apps/www/src/pages/widget.tsx
index 7b4e145e..7bcf480f 100644
--- a/apps/www/src/pages/widget.tsx
+++ b/apps/www/src/pages/widget.tsx
@@ -79,7 +79,9 @@ const WidgetPage = () => {
<ThemeProvider theme={theme === "dark" ? darkTheme : lightTheme}>
<Head>{generateNextSeo({ noindex: true, nofollow: true })}</Head>
<ModalController />
- <GraphView isWidget />
+ <div style={{ width: "100vw", height: "100vh" }}>
+ <GraphView isWidget />
+ </div>
</ThemeProvider>
);
};