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

Close button position #48

Open
ghost opened this issue Apr 13, 2014 · 1 comment
Open

Close button position #48

ghost opened this issue Apr 13, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 13, 2014

Hi!
Like your app..thanks..
Small question:
I open an error message box like this:

new Messi(errorMessage, {title: 'Error', titleClass: 'error', buttons: [{id: 0, label: 'Close', val: 'X'}]});

And in Firefox (v. 25 or 28) the 'Close' button is placed on the left..but in IE, Chrome and Safari it is placed in the middle (like on your site screenshots)..
How can I place this button in the center in FF? )
Thank you!

@ahasverus
Copy link

Hi,
I had the same problem as you (I am on Mac OS X). I solved this issue.
Open the mess.min.css file and add this command :

@-moz-document url-prefix() {
.messi-actions {
width:90%;
text-align:center;
margin-left: 5%;
margin-right: 5%;
}
}

This works with me. I hope it will also help you.
Cheers.

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