Fix export bottom sheet

This commit is contained in:
Nicolas Mowen 2024-03-27 15:48:00 -06:00
parent 05520a5e1a
commit 61142f7be7

View File

@ -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>
); );
} }