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

It doesn't seem to be responsive #60

Closed
tvirelli opened this issue Aug 8, 2015 · 1 comment
Closed

It doesn't seem to be responsive #60

tvirelli opened this issue Aug 8, 2015 · 1 comment

Comments

@tvirelli
Copy link

tvirelli commented Aug 8, 2015

Here is what I have:

$(document).ready(function(e) {
    $.bootstrapGrowl('My Message Goes Here. If it is long, it does not wrap on my mobile device.', {
        ele: 'body',
        type: 'danger',
        offset: {from: 'top', amount: 20},
        align: 'right',
        width: 400,
        delay: 5000,
        allow_dismiss: true,
        stackup_spacing: 10
    });
});

If my message is of any length, when viewing on smaller mobile phones like iPhone 5s, the message doesn't wrap, it just shoots off the screen.

I attached an example.

growl_example

@tvirelli
Copy link
Author

tvirelli commented Aug 9, 2015

Nevermind. Wow, just looking back at my code showed me the error of my ways. I have a hard width set:
width: 400,
Once I removed that it was responsive.

@tvirelli tvirelli closed this as completed Aug 9, 2015
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

1 participant