]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #2198 from Simounet/fix/image-inside-figure
authorThomas Citharel <tcit@tcit.fr>
Wed, 20 Jul 2016 18:44:47 +0000 (20:44 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Jul 2016 18:44:47 +0000 (20:44 +0200)
FIX image inside a figure element max-width

src/Wallabag/CoreBundle/Resources/public/themes/baggy/css/ratatouille.css
src/Wallabag/CoreBundle/Resources/public/themes/material/css/main.css

index b203cbb897822db40e5355d505bb30343b9b8bc2..605eb64117e263ed03153b4d35ffbc95c4b154a2 100644 (file)
@@ -64,7 +64,7 @@ pre {
   max-width: 61.25em;/*980px*/
 }
 
-table, img {
+table, img, figure {
   max-width: 100%;
   height :auto;
 }
index b106d91a3b807e6a2e325271623fa0924f6911d7..b4e082d3fe7f55801d8cc3f3d5ee0ff1ab42f05c 100755 (executable)
@@ -345,7 +345,8 @@ main ul.row {
     max-width: 40em;
 }
 
-#article img {
+#article img,
+#article figure {
     max-width: 100%;
     height: auto;
 }