fix(ux): env table height

This commit is contained in:
Bijin A B
2026-02-20 21:30:47 +05:30
parent 689e0c6573
commit 3de286ef50
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ const EnvironmentVariablesTable = ({
}, []);
const handleTotalHeightChanged = useCallback((h) => {
setTableHeight(h);
setTableHeight(h + 2);
}, []);
const prevEnvUidRef = useRef(null);

View File

@@ -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