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