Port Restore dialog to React. Fixes #7018

This commit is contained in:
Rahul Shirsat
2021-12-28 13:45:59 +05:30
committed by Akshay Joshi
parent 262dcdcf54
commit 603d91be0e
22 changed files with 689 additions and 1706 deletions

View File

@@ -509,7 +509,7 @@ define('pgadmin.browser.node', [
w: (!_.isUndefined(width) && !_.isNull(width)) ? width :
(screen.width < 700 ? screen.width * 0.95 : screen.width * 0.5),
h: (!_.isUndefined(height) && !_.isNull(height)) ? height :
(screen.height < 500 ? screen.height * 0.95 : screen.height * 0.5),
(screen.height < 500 ? screen.height * 0.95 : screen.height * 0.35),
x: (screen.width < 700 ? '2%' : '25%'),
y: (screen.height < 500 ? '2%' : '25%'),
}