Skip to content

Commit

Permalink
elyra-ai#2289 Common Properties Right Flyout Styling Documentation (e…
Browse files Browse the repository at this point in the history
…lyra-ai#2290)

Signed-off-by: srikant <[email protected]>
  • Loading branch information
srikant-ch5 authored Jan 6, 2025
1 parent 32562dd commit e4de509
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/pages/04-common-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,19 @@ Pass the `<CommonProperties>` object into the `rightFlyoutContent` prop of Commo
showRightFlyout={showRightFlyout}
/>
```


If the `CommonProperties` component is nested inside single or multiple layers of `<div>` elements, special consideration is needed for proper layout behavior.

```html
const rightFlyoutContent = (
<div className="parent-div">
<CommonProperties
propertiesInfo={this.propertiesInfo}
propertiesConfig={{ containerType: "Custom", rightFlyout: true }}
callbacks={this.callbacks}
/>
</div>
)

`display: flex` should be added to `parent-div` to allow Common Properties content to occupy full width and height available in right flyout.

0 comments on commit e4de509

Please sign in to comment.