diff --git a/src/stories/components/calendar/CalendarBottomBar.stories.tsx b/src/stories/components/calendar/CalendarBottomBar.stories.tsx
index 81d754ac..37770636 100644
--- a/src/stories/components/calendar/CalendarBottomBar.stories.tsx
+++ b/src/stories/components/calendar/CalendarBottomBar.stories.tsx
@@ -102,3 +102,14 @@ export const Default: Story = {
),
};
+export const Empty: Story = {
+ args: {
+ courses: [],
+ calendarRef: { current: null },
+ },
+ render: props => (
+
+
+
+ ),
+};
diff --git a/src/views/components/calendar/CalendarBottomBar/CalendarBottomBar.tsx b/src/views/components/calendar/CalendarBottomBar/CalendarBottomBar.tsx
index 2cdf3e5e..7960b086 100644
--- a/src/views/components/calendar/CalendarBottomBar/CalendarBottomBar.tsx
+++ b/src/views/components/calendar/CalendarBottomBar/CalendarBottomBar.tsx
@@ -24,28 +24,37 @@ type CalendarBottomBarProps = {
* @returns {JSX.Element} The rendered bottom bar component.
*/
export default function CalendarBottomBar({ courses, calendarRef }: CalendarBottomBarProps): JSX.Element {
+ const displayCourses = courses && courses.length > 0;
+
return (
-
-
-
Async. and Other:
-
- {courses?.map(({ courseDeptAndInstr, status, colors, className }) => (
-
- ))}
-
+
+
+ {displayCourses && (
+ <>
+
Other Classes:
+
+ {courses.map(({ courseDeptAndInstr, status, colors, className }) => (
+
+ ))}
+
+ >
+ )}
-
-
+
+ {displayCourses &&
}
-
diff --git a/src/views/components/calendar/CalendarCourseCell/CalendarCourseCell.tsx b/src/views/components/calendar/CalendarCourseCell/CalendarCourseCell.tsx
index 341f3f18..3509b4d6 100644
--- a/src/views/components/calendar/CalendarCourseCell/CalendarCourseCell.tsx
+++ b/src/views/components/calendar/CalendarCourseCell/CalendarCourseCell.tsx
@@ -56,30 +56,27 @@ export default function CalendarCourseCell({
return (
-
+
{courseDeptAndInstr}
- {timeAndLocation && (
-
- {timeAndLocation}
-
- )}
+ {timeAndLocation && {timeAndLocation}}
{rightIcon && (