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

Body padding in responsive css #2617

Closed
Hedde opened this issue Mar 15, 2012 · 3 comments
Closed

Body padding in responsive css #2617

Hedde opened this issue Mar 15, 2012 · 3 comments
Labels
Milestone

Comments

@Hedde
Copy link

Hedde commented Mar 15, 2012

2.0.1.

@media (max-width: 767px) {
.container {
width: auto;
padding: 0 20px;
}

2.0.2.

@media (max-width: 767px) {
body {
padding-left: 20px;
padding-right: 20px;
}
.navbar-fixed-top {
margin-left: -20px;
margin-right: -20px;
}
.container {
width: auto;
}

Where's the semantics in applying a navbar like this? I mean I could have a fixed bottom navbar for all I know... Also this causes some inconsistency between iPhone's normal Safari and standalone modus. I have yet to figure out what's causing this t.b.c.

@Hedde
Copy link
Author

Hedde commented Mar 15, 2012

The inconsistency was a bug on my side, however this fix should be applied (semantically) to .navbar-fixed-bottom aswell imo

@mdo
Copy link
Member

mdo commented Mar 19, 2012

Agreed on applying to the bottom aligned one.

@mdo mdo closed this as completed in ee3fc11 Mar 23, 2012
@mdo
Copy link
Member

mdo commented Mar 23, 2012

Resolved in 2.0.3-wip.

stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants