diff --git a/src/components/OfflineWithFeedback.js b/src/components/OfflineWithFeedback.js index 54d6bc0ab9be..a2e11e627958 100644 --- a/src/components/OfflineWithFeedback.js +++ b/src/components/OfflineWithFeedback.js @@ -40,6 +40,9 @@ const propTypes = { /** Additional styles to add after local styles. Applied to the parent container */ style: stylePropTypes, + /** Additional styles to add after local styles. Applied to the children wrapper container */ + contentContainerStyle: stylePropTypes, + /** Additional style object for the error row */ errorRowStyles: stylePropTypes, @@ -51,6 +54,7 @@ const defaultProps = { errors: null, onClose: () => {}, style: [], + contentContainerStyle: [], errorRowStyles: [], }; @@ -89,7 +93,7 @@ const OfflineWithFeedback = (props) => { return ( {!hideChildren && ( - + {children} )} diff --git a/src/pages/home/report/ReportFooter.js b/src/pages/home/report/ReportFooter.js index ac52539d3150..11d8806a5c03 100644 --- a/src/pages/home/report/ReportFooter.js +++ b/src/pages/home/report/ReportFooter.js @@ -90,6 +90,8 @@ class ReportFooter extends React.Component {