From e3c2da36df37bb558c594fa74929fd2ee7bdba74 Mon Sep 17 00:00:00 2001 From: Razboy20 Date: Mon, 20 May 2024 21:56:36 -0500 Subject: [PATCH] style: always show scrollbar (#215) * style: always show scrollbar * fix: hide header scrollbar in specific instances * hotfix: prettier fail * style: always show scrollbar * fix: hide header scrollbar in specific instances --- src/stories/components/List.stories.tsx | 1 + src/views/components/calendar/Calendar.tsx | 6 +++--- .../components/calendar/CalendarFooter.tsx | 2 +- .../components/calendar/CalenderHeader.tsx | 4 ++-- .../ExtensionRoot/ExtensionRoot.module.scss | 21 +++++++++++++++++++ 5 files changed, 28 insertions(+), 6 deletions(-) diff --git a/src/stories/components/List.stories.tsx b/src/stories/components/List.stories.tsx index 39b85a0a..6beb0706 100644 --- a/src/stories/components/List.stories.tsx +++ b/src/stories/components/List.stories.tsx @@ -97,6 +97,7 @@ export const Default: Story = { children: generateCourseBlocks, itemKey: item => item.uniqueId, gap: 12, + onReordered: () => {}, }, render: args => (
diff --git a/src/views/components/calendar/Calendar.tsx b/src/views/components/calendar/Calendar.tsx index 0633e680..580dfeb5 100644 --- a/src/views/components/calendar/Calendar.tsx +++ b/src/views/components/calendar/Calendar.tsx @@ -72,8 +72,8 @@ export default function Calendar(): JSX.Element { />
{showSidebar && ( -
-
+
+
@@ -83,7 +83,7 @@ export default function Calendar(): JSX.Element {
)} -
+
diff --git a/src/views/components/calendar/CalendarFooter.tsx b/src/views/components/calendar/CalendarFooter.tsx index c58325bb..f308e057 100644 --- a/src/views/components/calendar/CalendarFooter.tsx +++ b/src/views/components/calendar/CalendarFooter.tsx @@ -12,7 +12,7 @@ import Link from '../common/Link'; */ export default function CalendarFooter(): JSX.Element { return ( -