Added mobile vieport to sent messages

pull/208/head
M66B 2 years ago
parent 47bae9a8e2
commit 2e67acd789

@ -3640,6 +3640,11 @@ public class HtmlHelper {
Document doc = JsoupEx.parse(html);
if (doc.head().select("meta[name=viewport]").first() == null)
doc.head().prependElement("meta")
.attr("name", "viewport")
.attr("content", "width=device-width, initial-scale=1.0");
for (Element span : doc.select("span")) {
if (span.attr("dir").equals("rtl")) {
Element next = span.nextElementSibling();

Loading…
Cancel
Save