forked from wallabag/wallabag
Merge pull request #2198 from Simounet/fix/image-inside-figure
FIX image inside a figure element max-width
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user