removed-whitespace-issue178 (#16909)
This commit is contained in:
committed by
Quincy Larson
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;
|
||||
|
Reference in New Issue
Block a user