@@ -314,7 +314,7 @@ export function DateRangePicker(props: DateRangePickerProps): JSX.Element {
314
314
< div className = "flex flex-col py-4" >
315
315
< div className = "flex flex-col items-center justify-end gap-2 lg:flex-row lg:items-start" >
316
316
< div className = "flex flex-col gap-1 pl-3" >
317
- < div className = "mb-2 font-bold" > Absolute time range</ div >
317
+ < div className = "mb-2 font-bold" > Absolute date range</ div >
318
318
< div className = "space-y-2" >
319
319
< div className = "grid w-full max-w-sm items-center gap-1.5" >
320
320
< Label htmlFor = "from" > From</ Label >
@@ -327,7 +327,7 @@ export function DateRangePicker(props: DateRangePickerProps): JSX.Element {
327
327
setFromValue ( ev . target . value ) ;
328
328
} }
329
329
/>
330
- < Button size = "icon" variant = "ghost " onClick = { ( ) => setShowCalendar ( true ) } >
330
+ < Button size = "icon" variant = "outline " onClick = { ( ) => setShowCalendar ( true ) } >
331
331
< CalendarDays className = "size-4" />
332
332
</ Button >
333
333
</ div >
@@ -350,7 +350,7 @@ export function DateRangePicker(props: DateRangePickerProps): JSX.Element {
350
350
setToValue ( ev . target . value ) ;
351
351
} }
352
352
/>
353
- < Button size = "icon" variant = "ghost " onClick = { ( ) => setShowCalendar ( true ) } >
353
+ < Button size = "icon" variant = "outline " onClick = { ( ) => setShowCalendar ( true ) } >
354
354
< CalendarDays className = "size-4" />
355
355
</ Button >
356
356
</ div >
@@ -366,7 +366,7 @@ export function DateRangePicker(props: DateRangePickerProps): JSX.Element {
366
366
</ div >
367
367
368
368
< Button
369
- size = "sm "
369
+ className = "w-full text-center "
370
370
onClick = { ( ) => {
371
371
const fromWithoutWhitespace = fromValue . trim ( ) ;
372
372
const toWithoutWhitespace = toValue . trim ( ) ;
0 commit comments