mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-11 09:51:30 +00:00
fix(ux): env table height
This commit is contained in:
@@ -89,7 +89,7 @@ const EnvironmentVariablesTable = ({
|
||||
}, []);
|
||||
|
||||
const handleTotalHeightChanged = useCallback((h) => {
|
||||
setTableHeight(h);
|
||||
setTableHeight(h + 2);
|
||||
}, []);
|
||||
|
||||
const prevEnvUidRef = useRef(null);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user