Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjusting width of the modal dialog #68

Open
spchuang opened this issue Aug 18, 2014 · 1 comment
Open

Adjusting width of the modal dialog #68

spchuang opened this issue Aug 18, 2014 · 1 comment

Comments

@spchuang
Copy link

I suggest adding an option that will append a class to the modal-dialog div. This allows us to set custom width or styling if necessary to override the default behavior.

@Style87
Copy link

Style87 commented Oct 23, 2014

You can do this by passing in a custom template and within that template use other parameters to apply your classes. I use a template that has the following:
div class="col-md-<%= col %> col-md-offset-<%= ((12-col)/2) %>" style="padding:0px; margin-top:30px;"
Then when I create the modal I pass in the col parameter and I get bootstrap col's as my width.

EDIT: But a proper div with < and >. Not sure how to post code here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants