Merge pull request #910 from ckschmieder/figureMargin

Fixed margin causing x-wide imgs (contained within a figure tag) to overflow content area. Props @ckschmieder and @jrfnl
This commit is contained in:
Caroline Moore 2016-09-23 06:44:04 -07:00 committed by GitHub
commit 7d0846eb2d
2 changed files with 8 additions and 0 deletions

View File

@ -35,4 +35,8 @@ img {
max-width: 100%; /* Adhere to container width. */
}
figure {
margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}
@import "tables";

View File

@ -405,6 +405,10 @@ img {
max-width: 100%; /* Adhere to container width. */
}
figure {
margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}
table {
margin: 0 0 1.5em;
width: 100%;