aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-11-14 09:09:24 -0500
committerBobby <[email protected]>2022-11-14 09:09:24 -0500
commit2611c4292a7ee2d0e4edc02e13f72ec2e8148642 (patch)
treeca6d5b8c9433145794e8f19c1fc262cb456f3581
parent45d7d4dd2439915d66cc3c527f60e66fd72bd126 (diff)
downloadthatcomputerscientist-2611c4292a7ee2d0e4edc02e13f72ec2e8148642.tar.xz
thatcomputerscientist-2611c4292a7ee2d0e4edc02e13f72ec2e8148642.zip
Adjust image margins
-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;
}
}