mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
EE-1892 Centralize prompt dialog (#6903)
This commit is contained in:
parent
dc98850489
commit
ca30efeca7
1 changed files with 1 additions and 5 deletions
|
@ -28,10 +28,6 @@ export function confirmButtons(options: ButtonsOptions) {
|
|||
|
||||
export function applyBoxCSS(box: JQuery<HTMLElement>) {
|
||||
box.css({
|
||||
top: '50%',
|
||||
'margin-top': function marginTop() {
|
||||
const height = box.height() || 0;
|
||||
return -(height / 2);
|
||||
},
|
||||
'vertical-align': 'middle',
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue