diff --git a/templates/Illustration/slide.html.twig b/templates/Illustration/slide.html.twig index 465ba13..401f29f 100755 --- a/templates/Illustration/slide.html.twig +++ b/templates/Illustration/slide.html.twig @@ -25,10 +25,10 @@
- +

{{user.pseudo}}

{% set qrCode = qr_code_result(absolute_url(path("app_home_user",{userpseudo:user.slug}))) %} - +
{% endblock %} @@ -56,9 +56,13 @@ } function resizeImage() { - height=$(window).height()-35; + height=$(window).height()-70; $("#content").height($(window).height()-35); $("#illustration_illustration_img").css({height:height,width:'auto'}); + $("#avatar").height($(window).height()/6); + $("#avatar").width($(window).height()/6); + $("#qr").height($(window).height()/6); + $("#qr").width($(window).height()/6); width=$(window).width()-90; if($("#illustration_illustration_img").width()>width)