Skip to content

Commit

Permalink
Reserve less space for main dashboard column in lg resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Nov 6, 2024
1 parent 517c3c6 commit bc54d59
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export default function OrderableActivityTable<T>({
// 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],
Expand Down

0 comments on commit bc54d59

Please sign in to comment.