mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 18:26:34 +02:00
🐛 Fix time slot checkbox being pushed out of viewport (#1408)
Co-authored-by: Luke Vella <me@lukevella.com>
This commit is contained in:
parent
59e242f2cb
commit
fd12f5f0bf
1 changed files with 1 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue