I'm creating a chromeless dialog using the AP dialog.create functionality. It seems regardless of what I put for width & height, the dialog always has a top:169px applied to it. Is there a way to make the dialog center properly?
(see screenshot)
AP.require('dialog', function (dialog) {
dialog.create({
key: 'dialog-review-modal',
chrome: false,
height: '750px',
width: '90%',
});
});
I've tried the following:
- height:90%, width:90%
- height:auto, width:90%
Ideally, I'd like to set 90% width/height and have the dialog centered properly. I can't override the style that does the top:169px as that is in the main Atlassian code site, not my add-on.
Thanks,
Matt