From fd0395ba030f270b31912895fcc0cdc5123a5d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Wed, 31 Dec 2025 20:15:47 -0300 Subject: [PATCH] fix: make sidebar (and content) fill the whole page (#2777) --- .../import-course/CourseImportHomePage.tsx | 92 +++++++++---------- .../import-course/index.scss | 7 ++ 2 files changed, 52 insertions(+), 47 deletions(-) diff --git a/src/library-authoring/import-course/CourseImportHomePage.tsx b/src/library-authoring/import-course/CourseImportHomePage.tsx index cfbf101b8..c27dda938 100644 --- a/src/library-authoring/import-course/CourseImportHomePage.tsx +++ b/src/library-authoring/import-course/CourseImportHomePage.tsx @@ -55,53 +55,51 @@ export const CourseImportHomePage = () => { } return ( -
-
- - {libraryData.title} | {process.env.SITE_NAME} - -
- -
- } - /> -
- - - {courseImports.length ? ( - -

- -

- {courseImports.map((courseImport) => ( - - ))} -
- ) : ()} -
- - - -
-
-
+
+ + {libraryData.title} | {process.env.SITE_NAME} + +
+ +
+ } + /> +
+ + + {courseImports.length ? ( + +

+ +

+ {courseImports.map((courseImport) => ( + + ))} +
+ ) : ()} +
+ + + +
+
); }; diff --git a/src/library-authoring/import-course/index.scss b/src/library-authoring/import-course/index.scss index cdb000fba..8c3364c4a 100644 --- a/src/library-authoring/import-course/index.scss +++ b/src/library-authoring/import-course/index.scss @@ -36,3 +36,10 @@ padding-left: 0; } } + +.course-import { + .row { + // Make the row grow to fill the remaining vertial space + flex-grow: 1; + } +}