fix export dialog

This commit is contained in:
Josh Hawkins 2024-04-09 11:35:28 -05:00
parent fe1096d7d6
commit 2f8e1b4058
2 changed files with 5 additions and 5 deletions

View File

@ -428,7 +428,7 @@ function CalendarFilterButton({
<FaCalendarAlt <FaCalendarAlt
className={`${day == undefined ? "text-secondary-foreground" : "text-primary"}`} className={`${day == undefined ? "text-secondary-foreground" : "text-primary"}`}
/> />
<div className="hidden md:block"> <div className="hidden md:block text-primary">
{day == undefined ? "Last 24 Hours" : selectedDate} {day == undefined ? "Last 24 Hours" : selectedDate}
</div> </div>
</Button> </Button>

View File

@ -374,7 +374,7 @@ function CustomTimeSelector({
return ( return (
<div <div
className={`mt-3 flex items-center bg-secondary rounded-lg ${isDesktop ? "mx-8 px-2 gap-2" : "pl-2"}`} className={`mt-3 flex items-center bg-secondary text-secondary-foreground rounded-lg ${isDesktop ? "mx-8 px-2 gap-2" : "pl-2"}`}
> >
<FaCalendarAlt /> <FaCalendarAlt />
<Popover <Popover
@ -387,7 +387,7 @@ function CustomTimeSelector({
> >
<PopoverTrigger asChild> <PopoverTrigger asChild>
<Button <Button
className={isDesktop ? "" : "text-xs"} className={`text-primary ${isDesktop ? "" : "text-xs"}`}
variant={startOpen ? "select" : "secondary"} variant={startOpen ? "select" : "secondary"}
size="sm" size="sm"
onClick={() => { onClick={() => {
@ -438,7 +438,7 @@ function CustomTimeSelector({
/> />
</PopoverContent> </PopoverContent>
</Popover> </Popover>
<FaArrowRight className="size-4" /> <FaArrowRight className="size-4 text-primary" />
<Popover <Popover
open={endOpen} open={endOpen}
onOpenChange={(open) => { onOpenChange={(open) => {
@ -449,7 +449,7 @@ function CustomTimeSelector({
> >
<PopoverTrigger asChild> <PopoverTrigger asChild>
<Button <Button
className={isDesktop ? "" : "text-xs"} className={`text-primary ${isDesktop ? "" : "text-xs"}`}
variant={endOpen ? "select" : "secondary"} variant={endOpen ? "select" : "secondary"}
size="sm" size="sm"
onClick={() => { onClick={() => {