diff --git a/app/portainer/services/modal.service/utils.ts b/app/portainer/services/modal.service/utils.ts index 043818a13..2f6e72357 100644 --- a/app/portainer/services/modal.service/utils.ts +++ b/app/portainer/services/modal.service/utils.ts @@ -28,10 +28,6 @@ export function confirmButtons(options: ButtonsOptions) { export function applyBoxCSS(box: JQuery) { box.css({ - top: '50%', - 'margin-top': function marginTop() { - const height = box.height() || 0; - return -(height / 2); - }, + 'vertical-align': 'middle', }); }