Skip to content

Commit e4de509

Browse files
authored
elyra-ai#2289 Common Properties Right Flyout Styling Documentation (elyra-ai#2290)
Signed-off-by: srikant <srksriks123@gmail.com>
1 parent 32562dd commit e4de509

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/pages/04-common-properties.md

+16
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,19 @@ Pass the `<CommonProperties>` object into the `rightFlyoutContent` prop of Commo
122122
showRightFlyout={showRightFlyout}
123123
/>
124124
```
125+
126+
127+
If the `CommonProperties` component is nested inside single or multiple layers of `<div>` elements, special consideration is needed for proper layout behavior.
128+
129+
```html
130+
const rightFlyoutContent = (
131+
<div className="parent-div">
132+
<CommonProperties
133+
propertiesInfo={this.propertiesInfo}
134+
propertiesConfig={{ containerType: "Custom", rightFlyout: true }}
135+
callbacks={this.callbacks}
136+
/>
137+
</div>
138+
)
139+
140+
`display: flex` should be added to `parent-div` to allow Common Properties content to occupy full width and height available in right flyout.

0 commit comments

Comments
 (0)