EE-1892 Centralize prompt dialog (#6903)

pull/6987/head
Chao Geng 3 years ago committed by GitHub
parent dc98850489
commit ca30efeca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,10 +28,6 @@ export function confirmButtons(options: ButtonsOptions) {
export function applyBoxCSS(box: JQuery<HTMLElement>) { export function applyBoxCSS(box: JQuery<HTMLElement>) {
box.css({ box.css({
top: '50%', 'vertical-align': 'middle',
'margin-top': function marginTop() {
const height = box.height() || 0;
return -(height / 2);
},
}); });
} }

Loading…
Cancel
Save