diff --git a/src/apps/AppCenter/InstalledApps/AppContent.js b/src/apps/AppCenter/InstalledApps/AppContent.js index ac3f2fc6f..71670abe1 100644 --- a/src/apps/AppCenter/InstalledApps/AppContent.js +++ b/src/apps/AppCenter/InstalledApps/AppContent.js @@ -151,8 +151,9 @@ const AppContent = React.memo(({ repo, repoVersions, onRequestUpgrade }) => { {!!repoDetails && ( Details - + { + /* eslint-disable react/prop-types */ remark() .use(remark2react, { remarkReactComponents: { @@ -164,6 +165,7 @@ const AppContent = React.memo(({ repo, repoVersions, onRequestUpgrade }) => { }, }) .processSync(repoDetails).contents + /* eslint-enable react/prop-types */ } @@ -223,6 +225,8 @@ const Markdown = styled.section` h3 { font-weight: bold; margin: ${1 * GU}px 0; + break-after: avoid; + break-before: always; } p { margin: ${1 * GU}px 0;