diff --git a/monkey/monkey_island/cc/ui/src/components/ui-components/utils/HeightCalculator.js b/monkey/monkey_island/cc/ui/src/components/ui-components/utils/HeightCalculator.js index 1dcd47516..65a4fa178 100644 --- a/monkey/monkey_island/cc/ui/src/components/ui-components/utils/HeightCalculator.js +++ b/monkey/monkey_island/cc/ui/src/components/ui-components/utils/HeightCalculator.js @@ -6,7 +6,7 @@ export function getComponentHeight(subcomponentCount, subcomponentHeight = defaultSubcomponentHeight, minHeight = defaultMinHeight, maxHeight = defaultMaxHeight) { - let height = defaultMinHeight + (subcomponentHeight*subcomponentCount); + let height = minHeight + (subcomponentHeight*subcomponentCount); if (height > maxHeight) height = maxHeight