Skip to content

Commit

Permalink
fix(ComposedModal): add scrolling content class automatically (#8153)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
emyarod and kodiakhq[bot] committed Mar 29, 2021
1 parent 43a8379 commit 7834aaf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ export function ModalBody(props) {
const contentClass = classNames({
[`${prefix}--modal-content`]: true,
[`${prefix}--modal-content--with-form`]: hasForm,
[`${prefix}--modal-scroll-content`]: hasScrollingContent,
[className]: className,
});
const hasScrollingContentProps = hasScrollingContent
Expand Down

0 comments on commit 7834aaf

Please sign in to comment.