From c65e689b1545c124aa9cb408e648c6adcb6dccfd Mon Sep 17 00:00:00 2001 From: devanshu052000 Date: Tue, 20 May 2025 13:58:42 +0530 Subject: [PATCH] Fix: Small height of single line code editor when expanded --- frontend/src/_hooks/use-portal.jsx | 2 +- frontend/src/_styles/theme.scss | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/_hooks/use-portal.jsx b/frontend/src/_hooks/use-portal.jsx index 7732daccdf..6341f1c780 100644 --- a/frontend/src/_hooks/use-portal.jsx +++ b/frontend/src/_hooks/use-portal.jsx @@ -43,7 +43,7 @@ const usePortal = ({ children, ...restProps }) => { isCopilotEnabled={isCopilotEnabled} >
diff --git a/frontend/src/_styles/theme.scss b/frontend/src/_styles/theme.scss index f79ec46931..6c098acce0 100644 --- a/frontend/src/_styles/theme.scss +++ b/frontend/src/_styles/theme.scss @@ -18891,4 +18891,12 @@ section.ai-message-prompt-input-wrapper { .cm-editor { max-height: 100px !important; } +} + +.codehinter-popup { + .single-line-codehinter-input { + .cm-editor { + max-height: 100% !important; + } + } } \ No newline at end of file