diff --git a/css/backoffice/layout/_content.scss b/css/backoffice/layout/_content.scss index aa2ce1988..4a267eca6 100644 --- a/css/backoffice/layout/_content.scss +++ b/css/backoffice/layout/_content.scss @@ -21,15 +21,9 @@ &.ibo-center-container--with-side-content { display: flex; align-items: stretch; - overflow: hidden; /* Only the content areas should scroll */ - - > * { - height: 100%; - } #ibo-main-content { flex-grow: 1; /* To occupy maximum width, side content will handle its width */ - overflow-x: auto; /* To avoid main content to be too wide when the blocks within it have no width constraints. This way it will occupy only the remaining space left by the side part. */ } } } diff --git a/css/backoffice/pages/_base.scss b/css/backoffice/pages/_base.scss index 634356365..a423bb530 100644 --- a/css/backoffice/pages/_base.scss +++ b/css/backoffice/pages/_base.scss @@ -77,8 +77,14 @@ body{ z-index: 10; flex-grow: 1; /* To occupy all height available */ + overflow: hidden; /* Only the content areas should scroll */ + + > * { + height: 100%; + } } #ibo-main-content{ padding-top: $ibo-main-content--padding-top; padding-bottom: $ibo-main-content--padding-bottom; + overflow: auto; /* For scroll to happen in the main content instead of the center content */ } \ No newline at end of file