css - Setting size of dialogue in angularjs -


folks using ui.bootstrap.dialog module.

my question how set size of modal window. have tried following doesn't work intended:

$scope.viewopts = { dialogclass: 'dialogsize', dialogopenclass:'dialogsize',      templateurl: 'template/view-add-dialogue.tpl.html',        controller: 'customviewmodalctrl',    resolve: {     headerlist: $scope.data             }  }; 

where class dialogsize defined in css file:

.dialogsize {    width: 800px;    height: 600px  } 

can assist me solve ?

this shouldn't have angularjs, since leverages modal twitter bootstrap. need override default value of dialog's size in twitter bootsrap:

https://github.com/twbs/bootstrap/blob/f95ab89fb1da85ff0fcb95c43d4fe4af359e302a/less/modals.less#l130

regarding question ask customized version of dialog, can api. can use our own dialog, means can add custom class css want.

https://github.com/angular-ui/bootstrap/tree/master/src/dialog


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -