فهرست منبع

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
Felix NyxJae 11 ماه پیش
والد
کامیت
beb4cfbbf8
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      webview-ui/src/components/human-relay/HumanRelayDialog.tsx

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

@@ -66,13 +66,13 @@ export const HumanRelayDialog: React.FC<HumanRelayDialogProps> = ({
 
 
 	return (
 	return (
 		<Dialog open={isOpen} onOpenChange={(open) => !open && handleCancel()}>
 		<Dialog open={isOpen} onOpenChange={(open) => !open && handleCancel()}>
-			<DialogContent className="sm:max-w-[600px]">
+			<DialogContent className="sm:max-w-[600px] overflow-y-auto max-h-[80vh]">
 				<DialogHeader>
 				<DialogHeader>
 					<DialogTitle>{t("humanRelay:dialogTitle")}</DialogTitle>
 					<DialogTitle>{t("humanRelay:dialogTitle")}</DialogTitle>
 					<DialogDescription>{t("humanRelay:dialogDescription")}</DialogDescription>
 					<DialogDescription>{t("humanRelay:dialogDescription")}</DialogDescription>
 				</DialogHeader>
 				</DialogHeader>
 
 
-				<div className="grid gap-4 py-4">
+				<div className="grid gap-6 py-6">
 					<div className="relative">
 					<div className="relative">
 						<Textarea
 						<Textarea
 							className="min-h-[200px] font-mono text-sm p-4 pr-12 whitespace-pre-wrap"
 							className="min-h-[200px] font-mono text-sm p-4 pr-12 whitespace-pre-wrap"