forked from mirror/_s
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:
commit
7d0846eb2d
|
@ -35,4 +35,8 @@ img {
|
||||||
max-width: 100%; /* Adhere to container width. */
|
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";
|
@import "tables";
|
|
@ -405,6 +405,10 @@ img {
|
||||||
max-width: 100%; /* Adhere to container width. */
|
max-width: 100%; /* Adhere to container width. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
|
||||||
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
margin: 0 0 1.5em;
|
margin: 0 0 1.5em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Reference in New Issue