Permalink
Browse files

Restore proper text alignment in grid items that use centred grids

  • Loading branch information...
csswizardry committed Mar 18, 2013
1 parent ae1d221 commit 5e439589b32d5674c5504e519b22542d80d2161f
Showing with 5 additions and 0 deletions.
  1. +1 −0 CHANGELOG.md
  2. +4 −0 csswizardry-grids.scss
View
@@ -13,3 +13,4 @@
* **1.7.3** DRY out silent relative positioning
* **1.8** Add grid centring class
* **1.8.1** Ensure `.grid--center` adopts `.grid` base styling.
+* **1.8.2** Ensure `.grid__item`s in `.grid--center` have normal text-alignment restored
View
@@ -259,6 +259,10 @@ $class-type: unquote(".");
#{$class-type}grid--center{
@extend #{$class-type}grid;
text-align:center;
+
+ > #{$class-type}grid__item{
+ text-align:left;
+ }
}

0 comments on commit 5e43958

Please sign in to comment.