From f64472e9f86fad715e6616bc2932dffb8aed5a67 Mon Sep 17 00:00:00 2001 From: Simounet Date: Wed, 20 Jul 2016 19:30:29 +0200 Subject: FIX image inside a figure element max-width --- src/Wallabag/CoreBundle/Resources/public/themes/material/css/main.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Wallabag/CoreBundle/Resources/public/themes/material/css/main.css b/src/Wallabag/CoreBundle/Resources/public/themes/material/css/main.css index b106d91a..b4e082d3 100755 --- a/src/Wallabag/CoreBundle/Resources/public/themes/material/css/main.css +++ b/src/Wallabag/CoreBundle/Resources/public/themes/material/css/main.css @@ -345,7 +345,8 @@ main ul.row { max-width: 40em; } -#article img { +#article img, +#article figure { max-width: 100%; height: auto; } -- cgit v1.2.3 From 0e1abf392c6d3cf235e2449c58e9d19d75ed53d7 Mon Sep 17 00:00:00 2001 From: Simounet Date: Wed, 20 Jul 2016 20:23:55 +0200 Subject: FIX image inside a figure element max-width (baggy theme) --- .../CoreBundle/Resources/public/themes/baggy/css/ratatouille.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wallabag/CoreBundle/Resources/public/themes/baggy/css/ratatouille.css b/src/Wallabag/CoreBundle/Resources/public/themes/baggy/css/ratatouille.css index b203cbb8..605eb641 100644 --- a/src/Wallabag/CoreBundle/Resources/public/themes/baggy/css/ratatouille.css +++ b/src/Wallabag/CoreBundle/Resources/public/themes/baggy/css/ratatouille.css @@ -64,7 +64,7 @@ pre { max-width: 61.25em;/*980px*/ } -table, img { +table, img, figure { max-width: 100%; height :auto; } -- cgit v1.2.3