From d93be928c910e3de185fff63fa901e4ceb6c514e Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 6 Nov 2024 16:28:49 +0100 Subject: [PATCH] Reserve less space for main dashboard column in lg resolutions (#6842) --- .../components/dashboard/OrderableActivityTable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/static/scripts/frontend_apps/components/dashboard/OrderableActivityTable.tsx b/lms/static/scripts/frontend_apps/components/dashboard/OrderableActivityTable.tsx index 22cfb03d23..f85fc18de5 100644 --- a/lms/static/scripts/frontend_apps/components/dashboard/OrderableActivityTable.tsx +++ b/lms/static/scripts/frontend_apps/components/dashboard/OrderableActivityTable.tsx @@ -51,8 +51,8 @@ export default function OrderableActivityTable({ // For assignments with auto-grading, a fifth column is displayed. // In that case, we need to reserve less space for the first column, // otherwise the rest overflow. - 'lg:w-[60%] md:w-[45%]': index === 0 && columns.length < 5, - 'lg:w-[45%] md:w-[30%]': index === 0 && columns.length >= 5, + 'lg:w-[55%] md:w-[45%]': index === 0 && columns.length < 5, + 'lg:w-[40%] md:w-[30%]': index === 0 && columns.length >= 5, }), })), [columns],