Commit 1dbee669 authored by John James Jacoby's avatar John James Jacoby

Set automatic height on images & alignment tags.

Fixes issue with max-width causing scrunchy images.
parent 252640f2
......@@ -114,6 +114,7 @@ p:last-child,
display: inline;
float: left;
max-width: 100%;
height: auto;
margin: 0 @grid-gutter-width @line-height-computed 0;
}
......@@ -121,6 +122,7 @@ p:last-child,
display: inline;
float: right;
max-width: 100%;
height: auto;
margin: 0 0 @line-height-computed @grid-gutter-width;
}
......@@ -131,6 +133,7 @@ p:last-child,
display: block;
margin: 0 auto @line-height-computed;
max-width: 100%;
height: auto;
text-align: center;
}
......@@ -142,13 +145,14 @@ p:last-child,
.alignnone {
clear: both;
max-width: 100%;
height: auto;
}
@media (max-width: 767px) {
.alignleft,
.alignright {
.alignright,
.aligncenter {
float: none;
.aligncenter;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment