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's padding-top extends to small-width view #13

Closed
barneycarroll opened this issue Feb 20, 2013 · 1 comment
Closed

Body's padding-top extends to small-width view #13

barneycarroll opened this issue Feb 20, 2013 · 1 comment

Comments

@barneycarroll
Copy link

The body's padding-top, hard-coded into the markup, overrides the padding-top 0 declaration for smaller widths in the generated CSS:

@media (max-width: 979px) {
    body {
        padding-top: 0;
    }
}

(extrapolated, since the CSS is compressed, and I couldn't find its source in the less folder)

Surely if the top-padding is necessary for the floating header, it should be defined in the same place?

@gsferreira
Copy link
Member

Hi @barneycarroll!

The padding-top in index.html is custom code for our page. That behavior makes part of Twitter Bootstrap (the base of metro-bootstrap).
If want to change the CSS I recommend you to use this site http://cssbeautify.com/ to make the CSS readable.

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

2 participants