Skip to content

Commit

Permalink
override relative positioning on dialog styles
Browse files Browse the repository at this point in the history
  • Loading branch information
argvader committed Nov 13, 2014
1 parent 8e04852 commit 76f7313
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/assets/javascripts/jquery.select_deployment_target.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

base.defaultOptions = {
targetSelector: '.select-deployment-target',
filterSelector: '.select-remote-target'
filterSelector: '.select-remote-target',
dialogContentSelector: '.ui-dialog-content'
};


Expand Down Expand Up @@ -47,7 +48,11 @@
targetDialog = $.PMX.Helpers.dialog(base,$contents, {
title: 'Select Remote Deployment Target'
});

targetDialog.dialog('open');

// must set height here or jQueryUI sets inline style to auto
$contents.css('height', ($contents.height() + 20) + 'px');
};

base.handleClose = function () {
Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/panamax.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@ ul[class*='button-menu'] {
margin-left: 5px;
}

.ui-dialog {
position:absolute;
}

// Confirm delete dialog

.confirm-delete {
Expand Down

0 comments on commit 76f7313

Please sign in to comment.