Skip to content

Instantly share code, notes, and snippets.

@kapusta
Created April 25, 2012 15:47
Show Gist options
  • Save kapusta/2490791 to your computer and use it in GitHub Desktop.
Save kapusta/2490791 to your computer and use it in GitHub Desktop.
redefine the padding for iphone so a Bootstrap span6 will fit in the viewport
/* redefine the padding for iphone so a span 6 will fit in the viewport */
@media only screen and (max-device-width: 480px),
only screen and (-webkit-min-device-pixel-ratio: 2) {
.container-fluid {
padding-right: 10px;
padding-left: 10px;
*zoom: 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment