Permalink
Browse files

Ensure centred grids properly extend regular ones

  • Loading branch information...
1 parent 7ccb588 commit 736d5377d6a39998b0171c557ff1bbbde45445e0 @csswizardry committed Mar 18, 2013
Showing with 4 additions and 1 deletion.
  1. +1 −0 CHANGELOG.md
  2. +3 −1 csswizardry-grids.scss
View
@@ -12,3 +12,4 @@
* **1.7.2** Fix push and pull when using silent classes
* **1.7.3** DRY out silent relative positioning
* **1.8** Add grid centring class
+* **1.8.1** Ensure `.grid--center` adopts `.grid` base styling.
View
@@ -253,9 +253,11 @@ $class-type: unquote(".");
/**
- * Centered grids.
+ * Centered grids align grid items centrally without needing to use push or pull
+ * classes.
*/
#{$class-type}grid--center{
+ @extend #{$class-type}grid;
text-align:center;
}

0 comments on commit 736d537

Please sign in to comment.