This is an attempt to fix #4801
I hope it will also fix different weird behavior in mobile browsers (Firefox for Android and Firefox OS).
It also removes the black background on badges and add a float right on the profile picture in the menu, as users suggested (don't remember where :p)
Btw, I started to split the css code from mobile.css.scss to different files. I put it in the mobile folder in stylesheets, I hope I'll have time to more refactor the css pretty soon.
It also fixes a bug about the size of the content in screen width > 768px, even if I doubt that these screens would use the mobile version, I don't know much about retina screens etc.
So this does a lot more than your commit message describes. Please split it into multiple commits or at least make the message more verbose.
Did you make sure this still works in production? I think rake assets:precompile won't catch mobile.scss anymore if you don't adjust it in config/application.rb.
Fix drawer in some mobile browsers.
Remove the black background on menu badges.
Fix body content on screen width > 768px.
Start split of mobile css in different files in /mobile/
@MrZYX could you tell me what is wrong with travis?
Hm? It's green?
i restarted a worker that got stuck ;)
Thank you! Any remarks about the code?