consistent button order and spacing

This commit is contained in:
Josh Hawkins 2024-09-25 13:33:14 -05:00
parent c842cf838c
commit b3a4985abf

View File

@ -414,17 +414,7 @@ export function DateRangePicker({
</div> </div>
)} )}
</div> </div>
<div className="flex justify-center gap-2 py-2 pr-4"> <div className="mx-auto flex w-64 items-center justify-evenly gap-2 py-2">
<Button
onClick={() => {
setIsOpen(false);
resetValues();
onReset?.();
}}
variant="ghost"
>
Reset
</Button>
<Button <Button
variant="select" variant="select"
onClick={() => { onClick={() => {
@ -439,6 +429,16 @@ export function DateRangePicker({
> >
Apply Apply
</Button> </Button>
<Button
onClick={() => {
setIsOpen(false);
resetValues();
onReset?.();
}}
variant="ghost"
>
Reset
</Button>
</div> </div>
</div> </div>
); );