Skip to content

Commit

Permalink
Merge branch 'main' into Action-Image-Align
Browse files Browse the repository at this point in the history
  • Loading branch information
srikant-ch5 committed Jan 7, 2025
2 parents 9fc9962 + e4de509 commit 8214c5f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
display: flex;
> div:first-child {
width: 100%;
overflow-x: auto;
}
}
}
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 8214c5f

Please sign in to comment.