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

Large Modals #165

Open
jackmatt2 opened this issue Aug 13, 2014 · 1 comment
Open

Large Modals #165

jackmatt2 opened this issue Aug 13, 2014 · 1 comment

Comments

@jackmatt2
Copy link

Bootstrap supports large modals via modal-lg, there does not seem to be a way I can find to do this using the modal component.

I had to do it in a bit of a hacky way like this:

export default Ember.View.extend({

        didInsertElement: function() {
            //Add the large class to the modal as the API does not support it
            this.$().find('.modal-dialog').addClass('modal-lg');
        }

});

Is there a better way of doing this or could this feature be added?

@BenjaminHorn
Copy link

+1

I open my modals programatically and i use the hacky way jackmatt2 suggested. Would be nice to add custom css classes to the modal.

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