aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/blog_admin/edit_post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/blog_admin/edit_post.html b/templates/blog_admin/edit_post.html
index 8657ac90..4469b303 100644
--- a/templates/blog_admin/edit_post.html
+++ b/templates/blog_admin/edit_post.html
@@ -162,7 +162,7 @@
static gettex(latex) {
// make a POST request to /tex, returns a png response. render this to image tag
const url = `/tex/?expr="${latex}"`;
- const img = `<img src='${url}' style="display: block; margin: 0 auto; height: 24px; width: auto;" />`;
+ const img = `<img src='${url}' style="display: block; margin-left: auto; margin-right: auto; height: 24px; width: auto;" />`;
return img;
}
}