Quick fixes (#17639)

* Use mobile drawer for face selection

* Convert face selection to separate component

* Cleanup dialogs

* Add FAQ for record resolution

* Update image name

* Remove unused

* Cleanup
This commit is contained in:
Nicolas Mowen
2025-04-10 16:33:51 -05:00
committed by GitHub
parent 64db518837
commit 30ac868757
7 changed files with 151 additions and 75 deletions
@@ -8,6 +8,8 @@ import {
DialogHeader,
DialogTitle,
} from "@/components/ui/dialog";
import { cn } from "@/lib/utils";
import { isMobile } from "react-device-detect";
import { useTranslation } from "react-i18next";
type TextEntryDialogProps = {
@@ -43,7 +45,7 @@ export default function TextEntryDialog({
allowEmpty={allowEmpty}
onSave={onSave}
>
<DialogFooter className="pt-4">
<DialogFooter className={cn("pt-4", isMobile && "gap-2")}>
<Button type="button" onClick={() => setOpen(false)}>
{t("button.cancel")}
</Button>