From 02906d09e27f86a182814f3719459b95c5991eab Mon Sep 17 00:00:00 2001 From: afornerot Date: Sun, 3 Nov 2024 18:51:45 +0100 Subject: [PATCH] svg --- templates/Illustration/slide.html.twig | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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)