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