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

box-sizing: content-box #1

Closed
freshface opened this issue Nov 21, 2013 · 5 comments
Closed

box-sizing: content-box #1

freshface opened this issue Nov 21, 2013 · 5 comments

Comments

@freshface
Copy link

This fix doesn't seem to work:

ul.sm li *,ul.sm li *:before,ul.sm li *:after{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}

@vadikom
Copy link
Owner

vadikom commented Nov 21, 2013

Do you have any demo I can test? Because in the tests I did with Bootstrap 3, it did the trick.

@griddesign
Copy link

Same issue here, atteched link to demo page http://gridglobal.co.uk/ion-science-2013/ for testing purposes.
Chrome, IE experience the same issue with collapsed sub navigations. This project is using old bootstrap but border-box has been used.
As soon as I remove:

  • {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    }
    it works fine.

@vadikom
Copy link
Owner

vadikom commented Nov 25, 2013

OK, thanks very much for the test case! This turned out to be a bug with older jQuery versions (i.e. < 1.9.0) when global "box-sizing: border-box;" is used on the page (jquery/jquery#981 for more info). I will add a fix in v0.9.4 which is coming in the next few days. So here are the options for you:

  1. Wait for v0.9.4 which will probably be released within 2-3 days.
  2. Upgrade jQuery to at least 1.9.0

Cheers!

@griddesign
Copy link

It works after upgrading jQuery to 1.9.0. Thank you.

@vadikom
Copy link
Owner

vadikom commented Dec 1, 2013

This is now fixed in v0.9.4.

@vadikom vadikom closed this as completed Dec 1, 2013
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

3 participants