Skip to content

Commit 79cae91

Browse files
committed
chore: better responsiveness of mcp dialog
1 parent e8313ec commit 79cae91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/rule-builder/modals/MCPDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const MCPDialog: React.FC<MCPDialogProps> = ({ isOpen, onClose }) => {
1616
<ConfirmDialog isOpen={isOpen} onClose={onClose}>
1717
<ConfirmDialogHeader>MCP Instructions</ConfirmDialogHeader>
1818
<ConfirmDialogContent>
19-
<div className="space-y-4 text-sm text-gray-300">
19+
<div className="space-y-4 text-sm text-gray-300 max-h-[70vh] overflow-y-auto p-1">
2020
<div className="mb-4 p-3 bg-gray-800/50 rounded-md">
2121
<h3 className="text-md font-semibold text-gray-100 mb-1">Why use MCP Integration?</h3>
2222
<p>

0 commit comments

Comments
 (0)