1. Intermittently failing test cases.

2. Dialog vertical position should be more on the upper side.
3. File not supported error is not showing.

refs #7313
This commit is contained in:
Aditya Toshniwal
2022-07-25 11:48:27 +05:30
committed by Akshay Joshi
parent 96c360e728
commit a7fd7d67b3
3 changed files with 11 additions and 4 deletions

View File

@@ -168,7 +168,7 @@ function PaperComponent(props) {
return props.isfullscreen == 'true' ? { x: 0, y: 0 } : dialogPosition && { x: dialogPosition.x, y: dialogPosition.y };
};
const y_position = props.height ? (window.innerHeight/2) - (props.height/2) : (window.innerHeight/2) - (MIN_HEIGHT/2);
const y_position = window.innerHeight*0.02; // 2% of total height
const x_position = props.width ? (window.innerWidth/2) - (props.width/2) : (window.innerWidth/2) - (MIN_WIDTH/2);
return (