removed-whitespace-issue178 (#16909)
parent
4aec998e3f
commit
f628bfeeb7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue