diff --git a/static_src/mail_signature.js b/static_src/mail_signature.js index ece492761dd91a3be58f0c208f7725026a9e30af..19985171ede510486af66902a3b59da18cc8041b 100644 --- a/static_src/mail_signature.js +++ b/static_src/mail_signature.js @@ -98,8 +98,8 @@ const generateSignature = () => { result += "<div style=\"margin-bottom:0.75em;line-height:1.1em\">"; if (email !== "") { - result += `<div style="display:flex;column-gap:0.4em;margin-bottom:0.25em"> - <img src="${(!useExternalImages) ? emailDataURL : emailImageURL}" title="E-mail" width="15"> + result += `<div style="margin-bottom:0.25em"> + <img style="display:inline-block" src="${(!useExternalImages) ? emailDataURL : emailImageURL}" title="E-mail" width="15"> <span style="color:black">${email}</span> </div>`; } @@ -111,8 +111,8 @@ const generateSignature = () => { const formattedBasePhone = phoneGroups.join(" "); const prefix = $("#phone-prefix").val(); - result += `<div style="display:flex;column-gap:0.4em;margin-bottom:0.25em"> - <img src="${(!useExternalImages) ? phoneDataURL : phoneImageURL}" title="Telefonní číslo" height="15" style="height:15px"> + result += `<div style="margin-bottom:0.25em"> + <img style="display:inline-block" src="${(!useExternalImages) ? phoneDataURL : phoneImageURL}" title="Telefonní číslo" width="11"> <span style="color:black">${prefix} ${formattedBasePhone}</span> </div>`; }