Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Fix time slot checkbox being pushed out of viewport (#1408)

Simonfd12f5f0bf61
diff --git a/apps/web/src/components/poll/mobile-poll/time-slot-option.tsx b/apps/web/src/components/poll/mobile-poll/time-slot-option.tsx
index eb6fec306..043da8c76 100644
--- a/apps/web/src/components/poll/mobile-poll/time-slot-option.tsx
+++ b/apps/web/src/components/poll/mobile-poll/time-slot-option.tsx
@@ -11,14 +11,13 @@ export interface TimeSlotOptionProps extends PollOptionProps {
const TimeSlotOption: React.FunctionComponent<TimeSlotOptionProps> = ({
startTime,
- endTime,
duration,
...rest
}) => {
return (
<PollOption {...rest}>
<div className="flex items-center gap-x-4 text-sm">
- <div>{`${startTime} - ${endTime}`}</div>
+ <div>{startTime}</div>
<div className="flex items-center gap-x-1.5 opacity-50">
<ClockIcon className="size-4" />
{duration}