ui: add hasKeyboard prop to modals
This commit is contained in:
parent
a785a27554
commit
6f42b91585
|
|
@ -187,7 +187,7 @@ export function CreateAccountDialog({ onSuccess }: { onSuccess?: () => void }) {
|
|||
</TooltipProvider>
|
||||
)}
|
||||
</DialogTrigger>
|
||||
<DialogContent className="sm:max-w-[425px]">
|
||||
<DialogContent hasKeyboard className="sm:max-w-[425px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Create Account</DialogTitle>
|
||||
<DialogDescription>
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ export function EditAccountDialog({
|
|||
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||
<DialogContent className="sm:max-w-[425px]">
|
||||
<DialogContent hasKeyboard className="sm:max-w-[425px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Edit Account</DialogTitle>
|
||||
<DialogDescription>
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ export function UpdateBalanceDialog({
|
|||
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={handleOpenChange}>
|
||||
<DialogContent className="sm:max-w-[400px]">
|
||||
<DialogContent hasKeyboard className="sm:max-w-[400px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Update balance</DialogTitle>
|
||||
<DialogDescription>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export function CreateCategoryDialog({
|
|||
<DialogTrigger asChild>
|
||||
<Button>Create Category</Button>
|
||||
</DialogTrigger>
|
||||
<DialogContent className="sm:max-w-[425px]">
|
||||
<DialogContent hasKeyboard className="sm:max-w-[425px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Create Category</DialogTitle>
|
||||
<DialogDescription>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ export function EditCategoryDialog({
|
|||
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||
<DialogContent className="sm:max-w-[425px]">
|
||||
<DialogContent hasKeyboard className="sm:max-w-[425px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Edit Category</DialogTitle>
|
||||
<DialogDescription>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ export function CreateLabelDialog({ onSuccess }: { onSuccess?: () => void }) {
|
|||
<DialogTrigger asChild>
|
||||
<Button>Create Label</Button>
|
||||
</DialogTrigger>
|
||||
<DialogContent className="sm:max-w-[425px]">
|
||||
<DialogContent hasKeyboard className="sm:max-w-[425px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Create Label</DialogTitle>
|
||||
<DialogDescription>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export function EditLabelDialog({
|
|||
}: EditLabelDialogProps) {
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||
<DialogContent className="sm:max-w-[425px]">
|
||||
<DialogContent hasKeyboard className="sm:max-w-[425px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Edit Label</DialogTitle>
|
||||
<DialogDescription>
|
||||
|
|
|
|||
Loading…
Reference in New Issue