Skip to content

Commit

Permalink
added div.last
Browse files Browse the repository at this point in the history
  • Loading branch information
Montoya committed Oct 29, 2008
1 parent 27511ad commit 5419272
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blueprint/screen.css
Expand Up @@ -77,7 +77,7 @@ caption {background:#eee;}
.showgrid {background:url(src/grid.png);}
body {margin:1.5em 0;}
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23, div.span-24 {float:left;margin-right:10px;}
.last {margin-right:0;}
.last, div.last {margin-right:0;}
.span-1 {width:30px;}
.span-2 {width:70px;}
.span-3 {width:110px;}
Expand Down
2 changes: 1 addition & 1 deletion blueprint/src/grid.css
Expand Up @@ -41,7 +41,7 @@ div.span-21, div.span-22, div.span-23, div.span-24 {
}

/* The last column in a row needs this class. */
.last { margin-right: 0; }
.last, div.last { margin-right: 0; }

/* Use these classes to set the width of a column. */
.span-1 { width: 30px; }
Expand Down
2 changes: 1 addition & 1 deletion lib/blueprint/grid.css.erb
Expand Up @@ -29,7 +29,7 @@ body {
}

/* The last column in a row needs this class. */
.last { margin-right: 0; }
.last, div.last { margin-right: 0; }

/* Use these classes to set the width of a column. */
.span-1 {width: <%= column_width %>px;}
Expand Down

0 comments on commit 5419272

Please sign in to comment.