From 72ce6cadeb77bab6667f886f8a61223bd6d8d259 Mon Sep 17 00:00:00 2001 From: Pooja Date: Thu, 4 Dec 2025 12:31:57 +0530 Subject: [PATCH] fix: request and response pane height (#6294) --- packages/bruno-app/src/hooks/useTabPaneBoundaries/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bruno-app/src/hooks/useTabPaneBoundaries/index.js b/packages/bruno-app/src/hooks/useTabPaneBoundaries/index.js index e4036761e..22d05d15d 100644 --- a/packages/bruno-app/src/hooks/useTabPaneBoundaries/index.js +++ b/packages/bruno-app/src/hooks/useTabPaneBoundaries/index.js @@ -2,7 +2,7 @@ import find from 'lodash/find'; import { updateRequestPaneTabHeight, updateRequestPaneTabWidth } from 'providers/ReduxStore/slices/tabs'; import { useDispatch, useSelector } from 'react-redux'; -const MIN_TOP_PANE_HEIGHT = 150; +const MIN_TOP_PANE_HEIGHT = 380; export function useTabPaneBoundaries(activeTabUid) { const DEFAULT_PANE_WIDTH_DIVISOR = 2.2; @@ -12,7 +12,7 @@ export function useTabPaneBoundaries(activeTabUid) { const screenWidth = useSelector((state) => state.app.screenWidth); let asideWidth = useSelector((state) => state.app.leftSidebarWidth); const left = focusedTab && focusedTab.requestPaneWidth ? focusedTab.requestPaneWidth : (screenWidth - asideWidth) / DEFAULT_PANE_WIDTH_DIVISOR; - const top = focusedTab?.requestPaneHeight; + const top = focusedTab?.requestPaneHeight || MIN_TOP_PANE_HEIGHT; const dispatch = useDispatch(); return {