mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
Merge pull request #2198 from Simounet/fix/image-inside-figure
FIX image inside a figure element max-width
This commit is contained in:
commit
78d1727096
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue