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:
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
Post a Comment