diff options
| -rw-r--r-- | app/views/javascript/main.phtml | 2 | ||||
| -rw-r--r-- | public/theme/freshrss.css | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtml index 4f049e11d..05368683c 100644 --- a/app/views/javascript/main.phtml +++ b/app/views/javascript/main.phtml @@ -110,7 +110,7 @@ function mark_favorite (active) { function init_img () { $(".flux .content img").each (function () { - if ($(this).width () > ($("#stream").width()) / 2) { + if ($(this).width () > ($("#stream .content").width()) / 2) { $(this).addClass("big"); } }); diff --git a/public/theme/freshrss.css b/public/theme/freshrss.css index d6a29d4ba..d15487db3 100644 --- a/public/theme/freshrss.css +++ b/public/theme/freshrss.css @@ -305,10 +305,7 @@ } .content img.big { display: block; - margin: 10px 0; - width: 100%; - box-shadow: 0 0 5px #000; - border-radius: 5px; + margin: 10px auto; } .content pre { width: 90%; |
