adjust recurrence picker to not be a card
This commit is contained in:
@@ -73,14 +73,9 @@ export function RecurrencePicker({ value, onChange }: Props) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card className="w-full">
|
<div className="">
|
||||||
|
<Label htmlFor="frequency" className="pt-4 pb-2 pl-1">Repeats</Label>
|
||||||
{/* <CardHeader className="pb-4">
|
|
||||||
<CardTitle className="text-base">Recurrence Settings</CardTitle>
|
|
||||||
</CardHeader> */}
|
|
||||||
<CardContent className="space-y-4">
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<Label htmlFor="frequency">Repeats</Label>
|
|
||||||
<Select value={rec.freq} onValueChange={(value) => update({ freq: value as Recurrence["freq"] })}>
|
<Select value={rec.freq} onValueChange={(value) => update({ freq: value as Recurrence["freq"] })}>
|
||||||
<SelectTrigger id="frequency">
|
<SelectTrigger id="frequency">
|
||||||
<SelectValue />
|
<SelectValue />
|
||||||
@@ -154,7 +149,6 @@ export function RecurrencePicker({ value, onChange }: Props) {
|
|||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</CardContent>
|
</div>
|
||||||
</Card>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user