mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-11 17:47:37 +03:00
tweaks
This commit is contained in:
parent
920e9bdd18
commit
5b6ad48b18
@ -82,8 +82,10 @@ export default function AnnotationOffsetSlider({ className }: Props) {
|
|||||||
"landscape:flex-col landscape:items-start landscape:gap-4",
|
"landscape:flex-col landscape:items-start landscape:gap-4",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="flex flex-row gap-2 text-sm">
|
<div className="flex max-w-28 flex-row items-center gap-2 text-sm md:max-w-48">
|
||||||
{t("trackingDetails.annotationSettings.offset.label")}:
|
<span className="max-w-24 md:max-w-44">
|
||||||
|
{t("trackingDetails.annotationSettings.offset.label")}:
|
||||||
|
</span>
|
||||||
<span className="text-primary-variant">{annotationOffset}</span>
|
<span className="text-primary-variant">{annotationOffset}</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="w-full flex-1 landscape:flex">
|
<div className="w-full flex-1 landscape:flex">
|
||||||
|
|||||||
@ -30,6 +30,7 @@ import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip";
|
|||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import { Switch } from "@/components/ui/switch";
|
import { Switch } from "@/components/ui/switch";
|
||||||
import { usePersistence } from "@/hooks/use-persistence";
|
import { usePersistence } from "@/hooks/use-persistence";
|
||||||
|
import { isDesktop } from "react-device-detect";
|
||||||
|
|
||||||
type DetailStreamProps = {
|
type DetailStreamProps = {
|
||||||
reviewItems?: ReviewSegment[];
|
reviewItems?: ReviewSegment[];
|
||||||
@ -223,7 +224,12 @@ export default function DetailStream({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="absolute bottom-0 left-0 right-0 z-30 rounded-t-md border border-secondary-highlight bg-background_alt shadow-md">
|
<div
|
||||||
|
className={cn(
|
||||||
|
"absolute bottom-0 left-0 right-0 z-30 rounded-t-md border border-secondary-highlight bg-background_alt shadow-md",
|
||||||
|
isDesktop && "border-b-0",
|
||||||
|
)}
|
||||||
|
>
|
||||||
<button
|
<button
|
||||||
onClick={() => setControlsExpanded(!controlsExpanded)}
|
onClick={() => setControlsExpanded(!controlsExpanded)}
|
||||||
className="flex w-full items-center justify-between p-3"
|
className="flex w-full items-center justify-between p-3"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user