From f628bfeeb7160456addac6d81e8cfb107165a011 Mon Sep 17 00:00:00 2001 From: Rajat Kanti Nandi Date: Tue, 20 Mar 2018 07:56:17 +0530 Subject: [PATCH] removed-whitespace-issue178 (#16909) --- common/app/Panes/redux/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/app/Panes/redux/utils.js b/common/app/Panes/redux/utils.js index 52038dba6df..e29533d4b70 100644 --- a/common/app/Panes/redux/utils.js +++ b/common/app/Panes/redux/utils.js @@ -7,7 +7,9 @@ export function isPanesAction({ type } = {}, panesMap) { export function getDividerLeft(numOfPanes, index) { let dividerLeft = null; - if (numOfPanes > 1 && numOfPanes !== index + 1) { + if (numOfPanes === 2 && numOfPanes !== index + 1) { + dividerLeft = 33; + } else if (numOfPanes > 1 && numOfPanes !== index + 1) { dividerLeft = (100 / numOfPanes) * (index + 1); } return dividerLeft;