diff options
| author | 2013-04-11 21:56:55 +0200 | |
|---|---|---|
| committer | 2013-04-11 21:56:55 +0200 | |
| commit | cb3c97b811e6d820b8bf4d86861cfcae3b267c20 (patch) | |
| tree | 815267ab69646ae963244d1cb6ca033202b3eb1a | |
| parent | 1a4e8849ae10ce15f14b143448e0296704fa0130 (diff) | |
Amélioration affichage grosses images
| -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%; |
