mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed issue where dialog sizes snapping to the default widths.
This commit is contained in:
parent
1ab257d512
commit
dd4dc19add
@ -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
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user