From 4abfb9eaa09d62765816a72b4ec2b8630050d8d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Sun, 2 Apr 2023 18:33:34 +0200
Subject: [PATCH] style compatibility

---
 static_src/mail_signature.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/static_src/mail_signature.js b/static_src/mail_signature.js
index ece4927..1998517 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">&nbsp;&nbsp;
                        <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">&nbsp;&nbsp;
                        <span style="color:black">${prefix}&nbsp;${formattedBasePhone}</span>
                        </div>`;
         }
-- 
GitLab