mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 21:25:24 +03:00
fix export dialog
This commit is contained in:
parent
fe1096d7d6
commit
2f8e1b4058
@ -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>
|
||||||
|
|||||||
@ -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={() => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user