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
no longer centered #28
Comments
Hi @gjtyler Sorry to confuse you. Because of some reason, I removed Breaking release: v1.0.0-alpha.2 Document: http://getmobicss.com/#layout Please tell me how you think about this change. I'll try to release 1.0.0 in the end of September, after that there will be no more breaking changes. <body>
<div class="flex-center">
<div class="container">
<h1>Mobi.css</h1>
</div>
</div>
</body> You may want to say "Oh that's too complicated! Why should I need to add two Actually, Also, you can add What if we want to add a sidebar for the desktop version of your website, useful to show some additional, non-mobile messages, such as Scan to view on mobile or Go to top)? Here is a solution: <body>
<div class="flex-center">
<div class="container">
<h1>Mobi.css</h1>
</div>
<div class="hide-on-mobile" style="padding:0 30px;">
<p>Scan to view on mobile</p>
<img src="path/to/qrcode.png"/>
</div>
</div>
</body>
|
Why there is a small right margin on your mobile phone? It should work even if you don't add a wrapper Please provide me some code then I can figure out what is the problem. Thanks! |
I know the main purpose of this css file is for mobile and that's why I started using it. However, with the new alpha releases, my web site is no longer centered in the browser window.
I now have a large right margin on my desktop and a small right margin on my mobile phone.
I would like no margin on my mobile phone and centered on my desktop.
Let me know if you think I am using this wrong.
The text was updated successfully, but these errors were encountered: