diff --git a/packages/bruno-app/src/components/EnvironmentVariablesTable/index.js b/packages/bruno-app/src/components/EnvironmentVariablesTable/index.js index c1f05712a..de8f6b6c4 100644 --- a/packages/bruno-app/src/components/EnvironmentVariablesTable/index.js +++ b/packages/bruno-app/src/components/EnvironmentVariablesTable/index.js @@ -89,7 +89,7 @@ const EnvironmentVariablesTable = ({ }, []); const handleTotalHeightChanged = useCallback((h) => { - setTableHeight(h); + setTableHeight(h + 2); }, []); const prevEnvUidRef = useRef(null); diff --git a/packages/bruno-app/src/components/Environments/DotEnvFileEditor/DotEnvTableView.js b/packages/bruno-app/src/components/Environments/DotEnvFileEditor/DotEnvTableView.js index 01f969215..a947b0256 100644 --- a/packages/bruno-app/src/components/Environments/DotEnvFileEditor/DotEnvTableView.js +++ b/packages/bruno-app/src/components/Environments/DotEnvFileEditor/DotEnvTableView.js @@ -28,7 +28,7 @@ const DotEnvTableView = ({ isSaving }) => { const handleTotalHeightChanged = useCallback((h) => { - onHeightChange(h); + onHeightChange(h + 2); }, [onHeightChange]); // Use refs for stable access to formik values in callbacks