aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-11-14 09:08:19 -0500
committerBobby <[email protected]>2022-11-14 09:08:19 -0500
commit45d7d4dd2439915d66cc3c527f60e66fd72bd126 (patch)
treeb1d81ceda9e1c7698f3ddce15ed490d745b92157
parent7c365adf4bc9a3806db7aa5b14b88b901359acb5 (diff)
downloadthatcomputerscientist-45d7d4dd2439915d66cc3c527f60e66fd72bd126.tar.xz
thatcomputerscientist-45d7d4dd2439915d66cc3c527f60e66fd72bd126.zip
Adjust image margins
-rw-r--r--templates/blog_admin/new_post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/blog_admin/new_post.html b/templates/blog_admin/new_post.html
index 9a7c9ea1..048923d9 100644
--- a/templates/blog_admin/new_post.html
+++ b/templates/blog_admin/new_post.html
@@ -163,7 +163,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;
}
}