mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 13:15:25 +03:00
Fix export bottom sheet
This commit is contained in:
parent
05520a5e1a
commit
61142f7be7
@ -209,7 +209,7 @@ export function ExportContent({
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="w-full">
|
||||||
{isDesktop && (
|
{isDesktop && (
|
||||||
<>
|
<>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
@ -263,10 +263,14 @@ export function ExportContent({
|
|||||||
<DialogFooter
|
<DialogFooter
|
||||||
className={isDesktop ? "" : "mt-3 flex flex-col-reverse gap-4"}
|
className={isDesktop ? "" : "mt-3 flex flex-col-reverse gap-4"}
|
||||||
>
|
>
|
||||||
<div className="p-2 cursor-pointer" onClick={onCancel}>
|
<div
|
||||||
|
className={`p-2 cursor-pointer text-center ${isDesktop ? "" : "w-full"}`}
|
||||||
|
onClick={onCancel}
|
||||||
|
>
|
||||||
Cancel
|
Cancel
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
|
className={isDesktop ? "" : "w-full"}
|
||||||
variant="select"
|
variant="select"
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@ -283,7 +287,7 @@ export function ExportContent({
|
|||||||
{selectedOption == "timeline" ? "Select" : "Export"}
|
{selectedOption == "timeline" ? "Select" : "Export"}
|
||||||
</Button>
|
</Button>
|
||||||
</DialogFooter>
|
</DialogFooter>
|
||||||
</>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user