diff --git a/frontend/src/views/AngularWorkflow.jsx b/frontend/src/views/AngularWorkflow.jsx index 423095f9..2275b47e 100755 --- a/frontend/src/views/AngularWorkflow.jsx +++ b/frontend/src/views/AngularWorkflow.jsx @@ -14936,7 +14936,6 @@ const AngularWorkflow = (defaultprops) => { right: 0, left: isMobile ? 20 : leftBarSize + 20, top: isMobile ? 30 : appBarSize + 20, - pointerEvents: "none", } @@ -14957,7 +14956,6 @@ const AngularWorkflow = (defaultprops) => {
{ ) } +export const Paragrah = (props) => { + const element = React.createElement( + `p`, + {}, + props.children, + ) + + if (props.children[0] != undefined) { + if(typeof props.children[0] === "string") { + if (props.children[0].includes('.mp4')) { + return ( +
+ +
+ ) + } + } + } + + + return ( +
+ {element} +
+ ) +} + export const OuterLink = (props) => { if (props.href.includes("http") || props.href.includes("mailto")) { return ( @@ -581,8 +610,8 @@ const Docs = (defaultprops) => { position: "sticky", top: 50, paddingTop: "0.25em", - minHeight: "93vh", - maxHeight: "93vh", + minHeight: "95vh", + maxHeight: "95vh", overflowX: "hidden", overflowY: "auto", zIndex: 1000, @@ -940,7 +969,8 @@ const Docs = (defaultprops) => { h4: Heading, h5: Heading, h6: Heading, - a: OuterLink, + a: OuterLink, + p: Paragrah, } @@ -1188,7 +1218,7 @@ const Docs = (defaultprops) => { // Padding and zIndex etc set because of footer in cloud. const loadedCheck = ( -
+
{postDataBrowser} {postDataMobile}