This is an automated email from the git hooks/post-receive script. New commit to branch feature/5923 in repository wao. See http://git.codelutin.com/wao.git commit b54359d32027608f105529ced7db2e5446f29888 Author: Brendan Le Ny <bleny@codelutin.com> Date: Fri Feb 20 12:12:33 2015 +0100 Ajout de .chart sur toutes les images correspondantes et mise en place d'une marge --- .../java/fr/ifremer/wao/web/converter/JFreeChartToImgTagConverter.java | 2 +- wao-web/src/main/webapp/wao.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wao-web/src/main/java/fr/ifremer/wao/web/converter/JFreeChartToImgTagConverter.java b/wao-web/src/main/java/fr/ifremer/wao/web/converter/JFreeChartToImgTagConverter.java index 9fe7f81..ca311b9 100644 --- a/wao-web/src/main/java/fr/ifremer/wao/web/converter/JFreeChartToImgTagConverter.java +++ b/wao-web/src/main/java/fr/ifremer/wao/web/converter/JFreeChartToImgTagConverter.java @@ -66,7 +66,7 @@ public class JFreeChartToImgTagConverter extends StrutsTypeConverter { String base64code = BaseEncoding.base64().encode(bytes); - String html = "<img alt=\"" + chart.getTitle().getText() + "\" src=\"data:image/png;base64," + base64code + "\" />"; + String html = "<img alt=\"" + chart.getTitle().getText() + "\" src=\"data:image/png;base64," + base64code + "\" class=\"chart\" />"; return html; diff --git a/wao-web/src/main/webapp/wao.css b/wao-web/src/main/webapp/wao.css index d3524b9..7148779 100644 --- a/wao-web/src/main/webapp/wao.css +++ b/wao-web/src/main/webapp/wao.css @@ -531,9 +531,9 @@ button.#sampling-plan-filters-form_0:hover { } .chart { - height: 400px; margin-left: auto; margin-right: auto; + margin-bottom: 25px; } /****************************************************************************** -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.