From 61ace4baefeb8f16da7c05f176b140085a947ea5 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 29 May 2019 11:02:38 +0200 Subject: [PATCH] override font for usercontent download link --- src/components/views/messages/MFileBody.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/messages/MFileBody.js b/src/components/views/messages/MFileBody.js index 7e107c1ad8..d7452632e1 100644 --- a/src/components/views/messages/MFileBody.js +++ b/src/components/views/messages/MFileBody.js @@ -145,6 +145,7 @@ function remoteRender(event) { a.target = data.target; a.download = data.download; a.style = data.style; + a.style.fontFamily = "Arial, Helvetica, Sans-Serif"; a.href = window.URL.createObjectURL(data.blob); a.appendChild(img); a.appendChild(document.createTextNode(data.textContent));