diff --git a/services/web/frontend/stylesheets/app/editor/history-react.less b/services/web/frontend/stylesheets/app/editor/history-react.less index 0917155254..c9a8ef9bb9 100644 --- a/services/web/frontend/stylesheets/app/editor/history-react.less +++ b/services/web/frontend/stylesheets/app/editor/history-react.less @@ -17,6 +17,7 @@ history-root { .history-react { display: flex; + justify-content: center; height: 100%; background-color: @history-main-bg; @@ -400,6 +401,7 @@ history-root { height: 100%; display: flex; flex-direction: column; + flex: 1; position: relative; .cm-viewer-container, diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/history.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/history.scss index c5742e9e8f..c5813a4603 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/history.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/history.scss @@ -25,6 +25,7 @@ history-root { --history-change-list-padding: var(--spacing-06); display: flex; + justify-content: center; height: 100%; background-color: var(--bg-light-primary); @@ -396,6 +397,7 @@ history-root { height: 100%; display: flex; flex-direction: column; + flex: 1; position: relative; .cm-viewer-container,