Skip to content

Commit

Permalink
fix: DatePicker component UI of the presets variant
Browse files Browse the repository at this point in the history
  • Loading branch information
jaieds committed Dec 30, 2024
1 parent be20b7f commit 9dc4a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/datepicker/datepicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ const DatePicker = ( {
key={ index }
onClick={ () => handlePresetClick( preset.range ) }
variant="ghost"
className="font-medium text-sm"
className="font-medium text-sm text-nowrap"
>
{ preset.label }
</Button>
Expand All @@ -234,7 +234,7 @@ const DatePicker = ( {
width="w-auto"
numberOfMonths={ 2 }
footer={
<div className="flex justify-end p-2 gap-3 border border-solid border-border-subtle border-t-0 rounded-md rounded-tl-none rounded-tr-none bg-background-primary">
<div className="flex justify-end p-2 gap-3 border-l border-r border-t-0 border-b border-solid border-border-subtle bg-background-primary rounded-br-md">
<Button
variant="outline"
onClick={ handleCancelClick }
Expand Down

0 comments on commit 9dc4a8c

Please sign in to comment.