You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
override font for usercontent download link
This commit is contained in:
@@ -145,6 +145,7 @@ function remoteRender(event) {
|
|||||||
a.target = data.target;
|
a.target = data.target;
|
||||||
a.download = data.download;
|
a.download = data.download;
|
||||||
a.style = data.style;
|
a.style = data.style;
|
||||||
|
a.style.fontFamily = "Arial, Helvetica, Sans-Serif";
|
||||||
a.href = window.URL.createObjectURL(data.blob);
|
a.href = window.URL.createObjectURL(data.blob);
|
||||||
a.appendChild(img);
|
a.appendChild(img);
|
||||||
a.appendChild(document.createTextNode(data.textContent));
|
a.appendChild(document.createTextNode(data.textContent));
|
||||||
|
|||||||
Reference in New Issue
Block a user