jomarko commented on code in PR #2158:
URL:
https://github.com/apache/incubator-kie-tools/pull/2158#discussion_r1489171081
##########
packages/dmn-editor/.storybook/preview.tsx:
##########
@@ -0,0 +1,22 @@
+import * as React from "react";
+import type { Preview } from "@storybook/react";
+
+const preview: Preview = {
+ decorators: [
+ (Story) => (
+ <div style={{ position: "absolute", width: "100vw", height: "100vh",
top: "0px", left: "0px" }}>{Story()}</div>
Review Comment:
needed because of [react-flow
issue](https://reactflow.dev/learn/troubleshooting#004), the parent element
needs to have its size set.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]