mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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:
committed by
Akshay Joshi
parent
96c360e728
commit
a7fd7d67b3
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user