Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
}

:global(.rbc-month-view .rbc-date-cell) {
padding: 0;
min-height: 50px;
padding-bottom: 10px;
}

:global(.rbc-month-view .rbc-date-cell .rbc-button-link) {
Expand All @@ -36,4 +37,6 @@
height: 100%;
padding: 0.25rem 0.5rem;
text-align: left;
padding-bottom: 150px;
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The magic number 150px for padding-bottom is unusually large and lacks explanation. This seems excessive for ensuring clickable space and could cause significant layout issues. Please either add a comment explaining why 150px is needed, or verify this value is correct. If the goal is to make space clickable, a more reasonable value like 10-20px would typically suffice.

Suggested change
padding-bottom: 150px;
padding-bottom: 10px; /* Provide extra clickable space without distorting layout */

Copilot uses AI. Check for mistakes.
}

Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ function BookingCreationTimeSlotSelector() {
onDrillDown={onDrillDown}
onRepeatSlot={onRepeatSlot}
selectable
longPressThreshold={50}
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The magic number 50 for longPressThreshold is duplicated between this file (line 226) and the default value in booking-calendar.tsx (line 67). Consider extracting this to a named constant to ensure consistency and make it easier to adjust this value across the codebase if needed.

Copilot uses AI. Check for mistakes.
/>
</Segment>

Expand Down