mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-30 02:36:30 +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> = ({
|
const TimeSlotOption: React.FunctionComponent<TimeSlotOptionProps> = ({
|
||||||
startTime,
|
startTime,
|
||||||
endTime,
|
|
||||||
duration,
|
duration,
|
||||||
...rest
|
...rest
|
||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
<PollOption {...rest}>
|
<PollOption {...rest}>
|
||||||
<div className="flex items-center gap-x-4 text-sm">
|
<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">
|
<div className="flex items-center gap-x-1.5 opacity-50">
|
||||||
<ClockIcon className="size-4" />
|
<ClockIcon className="size-4" />
|
||||||
{duration}
|
{duration}
|
||||||
|
|
Loading…
Add table
Reference in a new issue