Merge pull request #1570 from 88mpg/assets-align-auto-height

wp-classes alignment (right, left, center) height set to auto for proper scaling
This commit is contained in:
Ben Word
2015-10-30 12:24:05 -05:00

View File

@@ -11,10 +11,12 @@
.aligncenter { .aligncenter {
display: block; display: block;
margin: ($line-height-computed / 2) auto; margin: ($line-height-computed / 2) auto;
height: auto;
} }
.alignleft, .alignleft,
.alignright { .alignright {
margin-bottom: ($line-height-computed / 2); margin-bottom: ($line-height-computed / 2);
height: auto;
} }
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
// Only float if not on an extra small device // Only float if not on an extra small device