diff --git a/scripts/core/interactive-article-actions-panel/actions/publish-tab.tsx b/scripts/core/interactive-article-actions-panel/actions/publish-tab.tsx index e9ec89e24d..815d6edd5a 100644 --- a/scripts/core/interactive-article-actions-panel/actions/publish-tab.tsx +++ b/scripts/core/interactive-article-actions-panel/actions/publish-tab.tsx @@ -153,11 +153,13 @@ export class WithPublishTab extends React.PureComponent { .flatMap(({activationResult}) => activationResult?.contributions?.publishingSections ?? []); const style: CSSProperties | undefined = sectionsFromExtensions.length > 0 - ? {display: 'flex', alignItems: 'start', justifyContent: 'space-between', gap: 32} + ? {display: 'flex', alignItems: 'start', justifyContent: 'space-between', gap: 32, height: '100%'} : undefined; const childrenStyle: CSSProperties = { flex: 1, // equal width for columns + position: 'relative', + height: '100%', }; return this.props.children({ @@ -237,6 +239,7 @@ export class WithPublishTab extends React.PureComponent { ); }) } + diff --git a/scripts/core/interactive-article-actions-panel/panel/panel-content.tsx b/scripts/core/interactive-article-actions-panel/panel/panel-content.tsx index f6f56a7e40..fa4970abee 100644 --- a/scripts/core/interactive-article-actions-panel/panel/panel-content.tsx +++ b/scripts/core/interactive-article-actions-panel/panel/panel-content.tsx @@ -15,7 +15,7 @@ export class PanelContent extends React.PureComponent { } else { return (
-
+
{this.props.children}