From dd8187d6da9847178c60ec7e5c2f15635f0d8e40 Mon Sep 17 00:00:00 2001 From: Aaron Park Date: Thu, 20 Nov 2025 13:40:17 -0600 Subject: [PATCH] style: UTRP-14: Add a bigger "hitbox" to calendar sidebar buttons (#563) * fix(sidebar): increase sidebar button hitbox * chore(ui): change hitbox area for plus button * chore(ui): update size of hitbox area * fix: fix pnpm version conflict * fix: pnpm version conflict * chore(ui): update size of hitbox area for the social links * feat: calendar footer story --------- Co-authored-by: doprz <52579214+doprz@users.noreply.github.com> Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com> Co-authored-by: Derek --- .../components/CalendarFooter.stories.tsx | 19 +++++++++++++++++++ src/views/components/calendar/Calendar.tsx | 3 ++- .../components/calendar/CalendarFooter.tsx | 8 +------- .../CalendarHeader/CalendarHeader.tsx | 3 ++- .../components/calendar/CalendarSchedules.tsx | 7 ++++--- src/views/components/common/Link.tsx | 2 +- 6 files changed, 29 insertions(+), 13 deletions(-) create mode 100644 src/stories/components/CalendarFooter.stories.tsx diff --git a/src/stories/components/CalendarFooter.stories.tsx b/src/stories/components/CalendarFooter.stories.tsx new file mode 100644 index 00000000..1a126a4f --- /dev/null +++ b/src/stories/components/CalendarFooter.stories.tsx @@ -0,0 +1,19 @@ +import type { Meta, StoryObj } from '@storybook/react'; +import CalendarFooter from '@views/components/calendar/CalendarFooter'; +import React from 'react'; + +const meta = { + title: 'Components/Calendar/CalendarFooter', + component: CalendarFooter, + parameters: { + layout: 'centered', + }, + tags: ['autodocs'], +} satisfies Meta; + +export default meta; +type Story = StoryObj; + +export const Default: Story = { + args: {}, +}; diff --git a/src/views/components/calendar/Calendar.tsx b/src/views/components/calendar/Calendar.tsx index 0c26f21c..1998eccb 100644 --- a/src/views/components/calendar/Calendar.tsx +++ b/src/views/components/calendar/Calendar.tsx @@ -114,11 +114,12 @@ export default function Calendar(): ReactNode {