Skip to content

Commit beb4cfb

Browse files
authored
fix: Adjust the style of the HumanRelayDialog component to increase the maximum height and spacing of the content area (#1791)
* fix: Add special handling to human-relay providers, optimize configuration check logic * fix: Remove the debug log in the checkExistKey function * fix: Adjust the style of the HumanRelayDialog component to increase the maximum height and spacing of the content area
1 parent 3575274 commit beb4cfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webview-ui/src/components/human-relay/HumanRelayDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ export const HumanRelayDialog: React.FC<HumanRelayDialogProps> = ({
6666

6767
return (
6868
<Dialog open={isOpen} onOpenChange={(open) => !open && handleCancel()}>
69-
<DialogContent className="sm:max-w-[600px]">
69+
<DialogContent className="sm:max-w-[600px] overflow-y-auto max-h-[80vh]">
7070
<DialogHeader>
7171
<DialogTitle>{t("humanRelay:dialogTitle")}</DialogTitle>
7272
<DialogDescription>{t("humanRelay:dialogDescription")}</DialogDescription>
7373
</DialogHeader>
7474

75-
<div className="grid gap-4 py-4">
75+
<div className="grid gap-6 py-6">
7676
<div className="relative">
7777
<Textarea
7878
className="min-h-[200px] font-mono text-sm p-4 pr-12 whitespace-pre-wrap"

0 commit comments

Comments
 (0)