Merge pull request #2198 from Simounet/fix/image-inside-figure

FIX image inside a figure element max-width
This commit is contained in:
Thomas Citharel 2016-07-20 20:44:47 +02:00 committed by GitHub
commit 78d1727096
2 changed files with 3 additions and 2 deletions

View file

@ -64,7 +64,7 @@ pre {
max-width: 61.25em;/*980px*/ max-width: 61.25em;/*980px*/
} }
table, img { table, img, figure {
max-width: 100%; max-width: 100%;
height :auto; height :auto;
} }

View file

@ -345,7 +345,8 @@ main ul.row {
max-width: 40em; max-width: 40em;
} }
#article img { #article img,
#article figure {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }