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 (
|
||||
<>
|
||||
<div className="w-full">
|
||||
{isDesktop && (
|
||||
<>
|
||||
<DialogHeader>
|
||||
@ -263,10 +263,14 @@ export function ExportContent({
|
||||
<DialogFooter
|
||||
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
|
||||
</div>
|
||||
<Button
|
||||
className={isDesktop ? "" : "w-full"}
|
||||
variant="select"
|
||||
size="sm"
|
||||
onClick={() => {
|
||||
@ -283,7 +287,7 @@ export function ExportContent({
|
||||
{selectedOption == "timeline" ? "Select" : "Export"}
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user