Fixed issue where dialog sizes snapping to the default widths.

pull/33/head
Aditya Toshniwal 2020-07-03 11:26:06 +05:30 committed by Akshay Joshi
parent 1ab257d512
commit dd4dc19add
1 changed files with 2 additions and 2 deletions

View File

@ -601,7 +601,7 @@ define('pgadmin.browser.node', [
w = pgAdmin.toPx(el, '95%', 'width', true);
} else {
w = pgAdmin.toPx(
el, (self.width || pgBrowser.stdW.default) + 'px',
el, self.width || (pgBrowser.stdW.default + 'px'),
'width', true
);
@ -621,7 +621,7 @@ define('pgadmin.browser.node', [
h = pgAdmin.toPx(el, '95%', 'height', true);
} else {
h = pgAdmin.toPx(
el, (self.height || pgBrowser.stdH.default) + 'px',
el, self.height || (pgBrowser.stdH.default + 'px'),
'height', true
);