Skip to content

Commit

Permalink
Merge pull request #1570 from 88mpg/assets-align-auto-height
Browse files Browse the repository at this point in the history
wp-classes alignment (right, left, center) height set to auto for proper scaling
  • Loading branch information
retlehs committed Oct 30, 2015
2 parents 8046666 + 24bcc41 commit c660582
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/styles/components/_wp-classes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
.aligncenter {
display: block;
margin: ($line-height-computed / 2) auto;
height: auto;
}
.alignleft,
.alignright {
margin-bottom: ($line-height-computed / 2);
height: auto;
}
@media (min-width: $screen-sm-min) {
// Only float if not on an extra small device
Expand Down

0 comments on commit c660582

Please sign in to comment.