Skip to content
Browse files

Fix inline-block white space issue

  • Loading branch information...
1 parent 6bcbe86 commit 63a041b66f263b91ed65e61af066b05bfe5faacd @daneden committed Apr 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 grid.css
View
2 grid.css
@@ -19,6 +19,7 @@ Column container
overflow: hidden;
/* Clear the floats */
+ letter-spacing: -.25em; /* Fix inline-block weirdness */
}
.grids [class*="grid-"] {
display: inline-block;
@@ -27,6 +28,7 @@ Column container
-moz-box-sizing: border-box;
box-sizing: border-box;
vertical-align: top;
+ letter-spacing: 0; /* And restore our letter spacing. */
}
.grid-1 {
width: 6.15%;

0 comments on commit 63a041b

Please sign in to comment.
Something went wrong with that request. Please try again.