-
Notifications
You must be signed in to change notification settings - Fork 130
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
responsive.less #26
Comments
They do not do this upstream either. Perhaps you should do |
In their repository, the Makefile file builds a bootstrap-responsive.css. It would be a nice to have, if you could similarly do a |
Does require 'twitter/bootstrap/responsive' work? |
It doesn't work, I had to add a |
Well that works :) but it should be working outside the box dont you think? |
Well, but |
I was just trying this out and ruby 1.9.3 Now to figure out how the responsive stuff actually works! |
The order of importing seems to be VERY important for this to work. While I am able to import the responsive.less file, I have yet to figure out how to get it loaded after bootstrap.css |
Removing |
I will say that how you import things and use the sprockets manifest is the key to using less. I tried to document some best practices in the initial read me. Also, Lastly, I do think we can get responsive in a way that works for everyone. I am just waiting to hear more about why and how and as of now I still assert that having a sprockets manifest that that requires you main foo.css.less and everything in that imports all other less files like twitter/bootstrap and in this case twitter/bootstrap/responsive too if so desired. There is a reason they left it out of the bootstrap.less loader and I do not want to add anything without know the best practices. So still waiting to here more and hopefully get a good pull request. |
@lelio98 idea approach on how to enable responsive css should be added to README |
@troex after reading @metaskills latest comment it may be best to wait to see what he comes up with as a best practice. |
I'll do that this weekend when I write a related blog article too. Will update the docs to help. |
great, I'm looking forward to it |
I made a test project called less-rails-bootstrap-test with working examples of how to use these gems. Please see the "CSS Tests Suites" section of the README and review the code. https://github.com/metaskills/less-rails-bootstrap-test The full control method should allow you to import responsive where it fits in. That could be at the bottom of the |
Bootstrap.less is not loading responsive.less !
The text was updated successfully, but these errors were encountered: